Changeset 198:168dadfccd08 in roaraudio for roard/lib.c
- Timestamp:
- 07/20/08 21:35:00 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/lib.c
r186 r198 3 3 #include "roard.h" 4 4 5 int lib_run_bg(char * cmd, int infh, int outfh, int errfh ) {5 int lib_run_bg(char * cmd, int infh, int outfh, int errfh, int * closefh, int lenclose) { 6 6 pid_t child = fork(); 7 7 int fh[3] = {-1, -1, -1}; … … 34 34 midi_free(); // close midi devices 35 35 36 // close fh's we got ask to close: 37 for (i = 0; i < lenclose; i++) 38 close(closefh[i]); 39 36 40 // TODO: what aout the output driver? 37 41
Note: See TracChangeset
for help on using the changeset viewer.