GETBOOTFILE(3)          NetBSD Library Functions Manual         GETBOOTFILE(3)


NAME
getbootfile -- get the name of the booted kernel file
LIBRARY
System Utilities Library (libutil, -lutil)
SYNOPSIS
#include <util.h> const char * getbootfile(void);
DESCRIPTION
getbootfile() returns a static pointer to the full path name of the file from which the current kernel was loaded. If it can not be determined, or the file is not ``secure'' (see secure_path(3)), _PATH_UNIX from <paths.h> is returned instead.
SEE ALSO
secure_path(3), sysctl(3)
HISTORY
The getbootfile function call appeared in FreeBSD 2.0 and NetBSD 1.6. NetBSD 5.1 April 6, 2001 NetBSD 5.1

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


Powered by man-cgi 1.15, Panagiotis Christias
Modified for NetBSD by Kimmo Suominen