<< Previous | Next >> | |
|
int fopen_rd( File * f, FileNumber name );
Description
- Open file for reading only. See
fopen_wr()
for a more detailed description.Parameters
- f
- Pointer to file descriptor (uninitialized).
- name
- File number (1 to 255 inclusive).
Return value
0
: Success.
!0
: Failure.ERRNO values
ENOENT
- File does not exist, or metadata extent number does not match an existing file.Library
- fs2.lib
See also
- fclose, fopen_wr (FS2)
Dynamic C Functions | << Previous | Next >> | rabbit.com |