diff options
author | Russ Cox <rsc@swtch.com> | 2008-07-04 12:38:26 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-07-04 12:38:26 -0400 |
commit | cab935a0ba34797d8b75fe1cfb7624a33d25e671 (patch) | |
tree | 3dd76e00d49cc4375d015f6f730059a3fa3f11c2 /include | |
parent | fc9fc9c83154ff0fa5a56854ee1f023c78f66fd8 (diff) | |
download | plan9port-cab935a0ba34797d8b75fe1cfb7624a33d25e671.tar.gz plan9port-cab935a0ba34797d8b75fe1cfb7624a33d25e671.tar.bz2 plan9port-cab935a0ba34797d8b75fe1cfb7624a33d25e671.zip |
lib9: add write function that withstands interrupts
Diffstat (limited to 'include')
-rw-r--r-- | include/libc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h index 7611dde1..aa23d306 100644 --- a/include/libc.h +++ b/include/libc.h @@ -793,6 +793,7 @@ extern int p9waitpid(void); extern long write(int, void*, long); extern long writev(int, IOchunk*, int); */ +extern long p9write(int, void*, long); /* extern int wstat(char*, uchar*, int); give up */ extern ulong rendezvous(ulong, ulong); @@ -813,6 +814,7 @@ extern ulong rendezvous(ulong, ulong); #define open p9open #define pipe p9pipe #define waitfor p9waitfor +#define write p9write #endif extern Dir* dirstat(char*); |