👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for getbootfile (netbsd section 3)

GETBOOTFILE(3)			   BSD 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 cur-
     rent 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.

BSD					   May 4, 2010					      BSD


All times are GMT -4. The time now is 12:32 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password