*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: getbootfile | Section: 3 | Source: FreeBSD | File: getbootfile.3.gz
GETBOOTFILE(3) FreeBSD Library Functions Manual GETBOOTFILE(3) NAME getbootfile - get kernel boot file name LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include <paths.h> const char * getbootfile(void); DESCRIPTION The getbootfile() function retrieves the full pathname of the file from which the current kernel was loaded, and returns a static pointer to the name. A read/write interface to this information is available via the sysctl(3) MIB variable "kern.bootfile". RETURN VALUES If the call succeeds a string giving the pathname is returned. If it fails, a null pointer is returned and an error code is placed in the global location errno. SEE ALSO sysctl(3) HISTORY The getbootfile() function appeared in FreeBSD 2.0. BUGS If the boot blocks have not been modified to pass this information into the kernel at boot time, the static string "/boot/kernel/kernel" is returned instead of the real boot file. FreeBSD 14.1-RELEASE-p8 September 23, 1994 FreeBSD 14.1-RELEASE-p8

Navigation Options