1io_readwritefile(3) Library Functions Manual io_readwritefile(3)
2
3
4
6 io_readfile - open a file for reading and writing
7
9 #include <io.h>
10
11 int io_readwritefile(int64* d,const char* s);
12
14 io_readwritefile sets d to the number of a new descriptor reading from
15 and writing to the disk file named s, and returns 1. The file needs to
16 exist.
17
18 If something goes wrong, io_readwritefile sets errno to indicate the
19 error, and returns 0; it does not create a new descriptor, and it does
20 not touch d.
21
23 io_readfile(3), io_createfile(3), io_appendfile(3)
24
25
26
27 io_readwritefile(3)