![]() |
![]() |
![]() |
Open a configuration file
#include <cfgopen.h> FILE * fcfgopen( const char * path, const char * mode, int location, const char * historical, char * namebuf, int nblen );
libc
The fcfgopen() function is similar to cfgopen() with these exceptions:
A valid fd if CFGFILE_NOFD isn't specified, a nonnegative value if CFGFILE_NOFD is specified, or -1 if an error occurs.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
mib.txt, snmpd.conf in the Utilities reference
![]() |
![]() |
![]() |