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