Manual Reference Pages - PRIV_FOPEN (3)
priv_fopen - stream open functions for privileged files
int priv_fopen(const char *path, const char *mode);
priv_fopen opens the file whose name is the string pointed to by
path and associates a stream with it. The stream can then be used by
fread, fwrite, and other such function calls.
priv_fopen takes the same mode strings as fopen(3).
priv_fopen will only succeed if the configuration file for the application allows the
priv_fopen returns the new file stream, or NULL if an error occurred (in which case,
errno is set appropriately). See
for more details, as this method parallels it.
The applications configuration file. See
for more details.
File creation may be possible without granting RW or AO access to the file.
Network Associates. Send email to <firstname.lastname@example.org>
|Unix ||PRIV_FOPEN (3) ||SEPTEMBER 2002 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.