diff options
author | rsc <devnull@localhost> | 2004-12-27 19:11:21 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-12-27 19:11:21 +0000 |
commit | 03417610742c4a67bb0345a8fa0fb4e13dee07f7 (patch) | |
tree | 31748ebfba51d8966a0f64a9742dd6f141ab43a9 /include | |
parent | 955a2ca78d7efc2787864e38a3d902df16fc2541 (diff) | |
download | plan9port-03417610742c4a67bb0345a8fa0fb4e13dee07f7.tar.gz plan9port-03417610742c4a67bb0345a8fa0fb4e13dee07f7.tar.bz2 plan9port-03417610742c4a67bb0345a8fa0fb4e13dee07f7.zip |
add awaitfor and waitfor
Diffstat (limited to 'include')
-rw-r--r-- | include/libc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h index d91d8906..ad5ecee0 100644 --- a/include/libc.h +++ b/include/libc.h @@ -693,6 +693,7 @@ extern void abort(void); /* extern int access(char*, int); */ extern long p9alarm(ulong); extern int await(char*, int); +extern int awaitfor(int, char*, int); extern int awaitnohang(char*, int); /* extern int bind(char*, char*, int); give up */ /* extern int brk(void*); <unistd.h> */ @@ -746,6 +747,7 @@ extern int segfree(void*, ulong); extern int p9sleep(long); /* extern int stat(char*, uchar*, int); give up */ extern Waitmsg* p9wait(void); +extern Waitmsg* p9waitfor(int); extern Waitmsg* waitnohang(void); extern int p9waitpid(void); /* <unistd.h> @@ -770,6 +772,7 @@ extern ulong rendezvous(ulong, ulong); #undef open #define open p9open #define pipe p9pipe +#define waitfor p9waitfor #endif extern Dir* dirstat(char*); |