1open_write(3) Library Functions Manual open_write(3)
23
4
NAME
6open_write - open a file for writing
7
SYNTAX
9#include <open.h>
1011
int open_write(const char *filename);
12
DESCRIPTION
14open_write opens the file filename for write-only use and returns the
15file handle. If the file does not exist, it will be created with mode
160644. If there was an error opening or creating the file, open_write
17returns -1 and sets errno accordingly.
18
SEE ALSO
20open(2)
2122
23
24
open_write(3)