add swifi to the build/install.
[minix.git] / servers / vfs / write.c
blob6682ed2e79a4483c357512ef4e66e9f5dff5997f
1 /* This file is the counterpart of "read.c". It contains the code for writing
2 * insofar as this is not contained in read_write().
4 * The entry points into this file are
5 * do_write: call read_write to perform the WRITE system call
6 */
8 #include "fs.h"
9 #include "file.h"
10 #include "fproc.h"
13 /*===========================================================================*
14 * do_write *
15 *===========================================================================*/
16 PUBLIC int do_write()
18 /* Perform the write(fd, buffer, nbytes) system call. */
19 return(read_write(WRITING));