secdef: open_secdef(), close_secdef(), get_secdef_str(),
get_secdef_int() - security defaults configuration file routines
opens the security configuration file This function must be called
prior to calling or
closes the security configuration file.
and return the value of the specified parameter defined in the security
configuration file. See the security(4) manpage.
Programs using these routines must be compiled with
In a multithreaded application, these interfaces are thread-safe, but
not async-cancel-safe. A cancellation point may occur when a thread is
executing any of these interfaces.
returns a value of if the open completed successfully. Otherwise, it
returns and leaves unchanged from the call. and return the following:
The value of the specified parameter was successfully returned.
The entry was not found, or the security configuration file was
The format of the entry was incorrect.
This example obtains the "path" from the parameter.
Security defaults configuration file.