Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

__ns_fset_file_state(3) Guardian Native C Library Calls Reference Manual
Disable buffering with the setvbuf() or setnbuf() function.
Refer to the Guardian Programmer’s 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_fset_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_fget_file_state(3),
__ns_fopen_special(3), __ns_start_backup(3).
STANDARDS CONFORMANCE
The __ns_fset_file_state( ) function is an HP extension to the XPG4 Version 2 specification.
538 Hewlett-Packard Company 527192-018