Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
setup(2)
Edit
PageHistory
Diff
Info
LikePages
SETUP !!!SETUP NAME SYNOPSIS DESCRIPTION RETURN VALUE ERRORS CONFORMING TO ---- !!NAME setup - setup devices and file systems, mount root file system !!SYNOPSIS __#include __ ___syscall0(int, setup);__ __int setup(void);__ !!DESCRIPTION __setup__ is called once from within ''linux/init/main.c''. It calls initialization functions for devices and file systems configured into the kernel and then mounts the root file system. No user process may call __setup__. Any user process, even a process with super-user permission, will receive __EPERM__. !!RETURN VALUE __setup__ always returns -1 for a user process. !!ERRORS __EPERM__ Always, for a user process. !!CONFORMING TO This function is Linux specific, and should not be used in programs intended to be portable, or indeed in any programs at all. Since Linux 2.1.121, no such function exists anymore. The calling sequence varied: it has had a single parameter ''void * BIOS'' and at other times a single parameter ''int magic''. ----
2 pages link to
setup(2)
:
Man2s
syscalls(2)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.