Manual Reference Pages - SHISHI_REALM_DEFAULT_GUESS (3)
shishi_realm_default_guess - API function
char * shishi_realm_default_guess( void);
Guesses a realm based on getdomainname() (which really is NIS/YP
domain, but if it is set it might be a good guess), or if it fails,
based on gethostname(), or if it fails, the string
"could-not-guess-default-realm". Note that the hostname is not
trimmed off of the data returned by gethostname() to get the domain
name and use that as the realm.
Returns guessed realm for host as a string that has
to be deallocated with free() by the caller.
Report bugs to <email@example.com>.
Copyright © 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
The full documentation for
shishi is maintained as a Texinfo manual. If the
shishi programs are properly installed at your site, the command
should give you access to the complete manual.
|shishi ||SHISHI_REALM_DEFAULT_GUESS (3) ||1.0.2 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.