Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)

freopen_oss(3) Guardian Native C Library Calls Reference Manual
[EINTR] The function was interrupted by a signal that was caught.
[EINVAL] The mode parameter is not a valid mode.
[EISDIR] The named le is a directory and mode requires write access.
[EMFILE] The OPEN_MAX le descriptors are currently open in the calling process.
[ENAMETOOLONG]
The length of the path string exceeds PATH_MAX or a pathname component is
longer than NAME_MAX.
[ENFILE] Too many les are currently open in the processor.
[ENOENT] The named le does not exist or the path parameter points to an empty string.
[ENOMEM] Insufcient space to allocate a buffer.
[ENOSPC] The directory or le system that would contain the new le cannot be expanded.
[ENOTDIR] A component of the pathname prex is not a directory.
[ENXIO] The named le is a character-special or block-special le and the device associ-
ated with this special le does not exist.
[EROFS] The named le resides on a read-only le system and mode requires write access.
[ETXTBSY] The le is being executed and the mode requires write access.
RELATED INFORMATION
Functions: open(2), fclose(3), fopen(3), freopen(3), freopen_guardian(3), fseek(3), setbuf(3).
STANDARDS CONFORMANCE
The freopen_oss() function is an HP extension to the XPG4 Version 2 specication.
264 Hewlett-Packard Company 527192-005