shishi_principal_default3
Api function
Usage
#include <shishi.h>
const char * shishi_principal_default(Shishi * handle);
Arguments
- Shishi * handle
-
Shishi library handle created by
shishi_init().
Overview
The default principal name is the name in the environment variable USER, or LOGNAME for some systems, but it can be overridden by specifying the environment variable SHISHI_USER.
Return value
Returns the default principal name used by the library. (Not a copy of it, so don't modify or deallocate it.)
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.