Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
__ns_fget_file_state(3) Guardian Native C Library Calls Reference Manual
— Ignore the effects of unflushed buffers, if the unflushed buffer contents are not
critical to the application.
— Disable buffering with the setvbuf() or setbuf() function.
Refer to the Guardian Programmers Guide for complete details on active backup programming
in C.
RETURN VALUES
Upon successful completion, the value 0 (zero) is returned. Otherwise, the value -1 is returned.
ERRORS
If any of the following conditions occur, the __ns_fget_file_state( ) function sets errno to the
corresponding value:
[ENONSTOP] The file specified in the stream argument is not open.
RELATED INFORMATION
Functions: __ns_backup_fopen(3), __ns_fget_file_open_state(3), __ns_fopen_special(3),
__ns_fset_file_state(3), __ns_start_backup(3).
STANDARDS CONFORMANCE
The __ns_fget_file_state() function is an HP extension to the XPG4 Version 2 specification.
5−30 Hewlett-Packard Company 527192-018