File: open_read.3

package info (click to toggle)
libowfat 0.34-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,288 kB
  • sloc: ansic: 20,181; makefile: 16
file content (13 lines) | stat: -rw-r--r-- 488 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
.TH open_read 3
.SH NAME
open_read \- open a file for reading
.SH SYNTAX
.B #include <libowfat/open.h>

int \fBopen_read\fP(const char *\fIfilename\fR);
.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"
open(2), open_append(3), open_excl(3), open_rw(3), open_trunc(3), open_write(3), openreadclose(3), readclose(3), readclose_append(3)