libowfat/open/open_read.3

14 lines
488 B
Groff
Raw Normal View History

2001-02-02 17:54:47 +00:00
.TH open_read 3
.SH NAME
open_read \- open a file for reading
.SH SYNTAX
.B #include <libowfat/open.h>
2001-02-02 17:54:47 +00:00
2006-11-07 17:56:05 +00:00
int \fBopen_read\fP(const char *\fIfilename\fR);
2001-02-02 17:54:47 +00:00
.SH DESCRIPTION
open_read opens the file \fIfilename\fR for reading and returns the file
handle. If there was an error opening the file, open_read returns -1
and sets errno accordingly.
.SH "SEE ALSO"
2020-12-07 14:57:16 +00:00
open(2), open_append(3), open_excl(3), open_rw(3), open_trunc(3), open_write(3), openreadclose(3), readclose(3), readclose_append(3)