lib9: add write function that withstands interrupts
This commit is contained in:
parent
fc9fc9c831
commit
cab935a0ba
3 changed files with 26 additions and 0 deletions
|
|
@ -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*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue