1io_createfile(3)           Library Functions Manual           io_createfile(3)
2
3
4

NAME

6       io_createfile - create a file
7

SYNTAX

9       #include <io.h>
10
11       int io_createfile(int64* d,const char* s);
12

DESCRIPTION

14       io_createfile  sets  d to the number of a new descriptor writing to the
15       disk file named s, and returns 1. If s already existed, it is truncated
16       to length 0; otherwise, it is created, with mode 0600.
17
18       If  something  goes  wrong,  io_createfile  sets  errno to indicate the
19       error, and returns 0; it does not create a new descriptor, and it  does
20       not touch d.  (However, it may have truncated or created the file.)
21

SEE ALSO

23       io_readfile(3), io_appendfile(3), io_readwritefile(3)
24
25
26
27                                                              io_createfile(3)
Impressum