p Declarations for these functions may be obtained from the include file n util.h . The .Nm library and the associated functions are implemented within the
a /usr/src/lib/libutil directory. .Sh LIST OF FUNCTIONS l -column ".Xr sockaddr_snprintf 3" -compact t Sy Name Ta Sy Description t Xr disklabel_dkcksum 3 Ta compute the checksum for a disklabel t Xr disklabel_scan 3 Ta scan a buffer for a valid disklabel t Xr efun 3 Ta error checked utility functions t Xr forkpty 3 Ta tty utility function t Xr getbootfile 3 Ta get the name of the booted kernel file t Xr getbyteorder 3 Ta get the current byte order t Xr getdiskrawname 3 Ta get the block/character device name for a disk t Xr getfsspecname 3 Ta get the underlying wedge name from a label t Xr getfstypename 3 Ta convert a partition file system type integer to a wedge partition type name t Xr getlabeloffset 3 Ta get the sector number and offset of the disklabel t Xr getlabelsector 3 Ta get the sector number and offset of the disklabel t Xr getmaxpartitions 3 Ta get the maximum number of partitions allowed per disk t Xr getmntopts 3 Ta scan mount options t Xr getrawpartition 3 Ta get the system ``raw'' partition t Xr kinfo_getvmmap 3 Ta get per-process memory map information t Xr login 3 Ta login utility function t Xr login_cap 3 Ta query login.conf database about a user class t Xr login_close 3 Ta query login.conf database about a user class t Xr login_getcapbool 3 Ta query login.conf database about a user class t Xr login_getcapnum 3 Ta query login.conf database about a user class t Xr login_getcapsize 3 Ta query login.conf database about a user class t Xr login_getcapstr 3 Ta query login.conf database about a user class t Xr login_getcaptime 3 Ta query login.conf database about a user class t Xr login_getclass 3 Ta query login.conf database about a user class t Xr login_tty 3 Ta tty utility function t Xr loginx 3 Ta login utility function t Xr logout 3 Ta login utility function t Xr logoutx 3 Ta login utility function t Xr logwtmp 3 Ta login utility function t Xr logwtmpx 3 Ta login utility function t Xr opendisk 3 Ta open a disk partition t Xr openpty 3 Ta tty utility function t Xr pidfile 3 Ta write a daemon pid file t Xr pidlock 3 Ta locks based on files containing PIDs t Xr proc_compare 3 Ta compare two processes' interactivity t Xr pw_abort 3 Ta passwd file update function t Xr pw_copy 3 Ta utility function for interactive passwd file updates t Xr pw_edit 3 Ta utility function for interactive passwd file updates t Xr pw_error 3 Ta utility function for interactive passwd file updates t Xr pw_getconf 3 Ta password encryption configuration access function t Xr pw_getprefix 3 Ta passwd file update function t Xr pw_init 3 Ta utility function for interactive passwd file updates t Xr pw_lock 3 Ta passwd file update function t Xr pw_mkdb 3 Ta passwd file update function t Xr pw_prompt 3 Ta utility function for interactive passwd file updates t Xr pw_scan 3 Ta utility function for interactive passwd file updates t Xr pw_setprefix 3 Ta passwd file update function t Xr raise_default_signal 3 Ta raise the default signal handler t Xr secure_path 3 Ta determine if a file appears to be ``secure'' t Xr setclasscontext 3 Ta query login.conf database about a user class t Xr setusercontext 3 Ta query login.conf database about a user class t Xr snprintb 3 Ta bitmask output conversion t Xr sockaddr_snprintf 3 Ta socket address formatting function t Xr strpct 3 Ta decimal percent formatter t Xr ttyaction 3 Ta ttyaction utility function t Xr ttylock 3 Ta locks based on files containing PIDs t Xr ttymsg 3 Ta ttymsg utility function t Xr ttyunlock 3 Ta locks based on files containing PIDs .El .Sh FILES l -tag -width /usr/lib/libutil_p.a -compact t Pa /usr/lib/libutil.a static util library t Pa /usr/lib/libutil.so dynamic util library t Pa /usr/lib/libutil_p.a static util library compiled for profiling .El .Sh SEE ALSO .Xr efun 3 , .Xr intro 3