Home   Manual   Type Index   Symbol Index   Topics Index

std::open_file

opens a file

Description

On success a valid filed handle is returned; on failure an appropriate error-object is returned.

Arguments: filename # the name of the file mode # the mode to use for opening the file

See also

std::close_file   closes a resource
std::O_RDONLY   the respective POSIX flag used to open files
std::O_WRONLY   the respective POSIX flag used to open files
std::O_RDWR   the respective POSIX flag used to open files
std::O_CREAT   the respective POSIX flag used to open files
std::O_APPEND   the respective POSIX flag used to open files
std::O_TRUNC   the respective POSIX flag used to open files
std::O_EXCL   the respective POSIX flag used to open files
std::O_NOFOLLOW   the respective POSIX flag used to open files
std::O_NONBLOCK   the respective POSIX flag used to open files
std::O_SYNC   the respective POSIX flag used to open files
std::O_DSYNC   the respective POSIX flag used to open files
std::O_RSYNC   the respective POSIX flag used to open files

Topics

Input-Output