open_read - Man Page

open a file for reading

Syntax

#include <open.h>

int open_read(const char *filename);

Description

open_read opens the file filename for reading and returns the file handle.  If there was an error opening the file, open_read returns -1 and sets errno accordingly.

See Also

open(2)

Referenced By

openreadclose(3), readclose(3), readclose_append(3).