Query: getbootfile
OS: netbsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETBOOTFILE(3) BSD Library Functions Manual GETBOOTFILE(3)NAMEgetbootfile -- get the name of the booted kernel fileLIBRARYSystem Utilities Library (libutil, -lutil)SYNOPSIS#include <util.h> const char * getbootfile(void);DESCRIPTIONgetbootfile() returns a static pointer to the full path name of the file from which the current kernel was loaded. If it can not be deter- mined, or the file is not ``secure'' (see secure_path(3)), _PATH_UNIX from <paths.h> is returned instead.SEE ALSOsecure_path(3), sysctl(3)HISTORYThe getbootfile() function call appeared in FreeBSD 2.0 and NetBSD 1.6.BSDMay 4, 2010 BSD
Related Man Pages |
---|
ktrdump(8) - freebsd |
libutil(3) - netbsd |
pw_getconf(3) - netbsd |
savecore(8) - netbsd |
kld_isloaded(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
NTP synchronised problem in our Centos 7.6 node |