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