1open_append(3) Library Functions Manual open_append(3)
2
3
4
6 open_append - open a file for appending
7
9 #include <open.h>
10
11 int open_append(const char *filename);
12
14 open_append opens the file filename for appending write-only use and
15 returns the file handle. If it does not exist, it will be created with
16 mode 0600. If there was an error opening or creating the file,
17 open_append returns -1 and sets errno accordingly.
18
19 All write operations will append after the last byte, regardless of
20 previous calls to lseek(2) or other processes also appending to the
21 same file.
22
24 open(2)
25
26
27
28 open_append(3)