setup - setup devices and filesystems, mount root filesystem
Standard C library (libc
, -lc
)
#include <unistd.h>
[[deprecated]] int setup(void);
setup() always returns -1 for a user process.
Always, for a user process.
Linux.
Removed in Linux 2.1.121.
The calling sequence varied: at some times setup()
has had a single argument void *BIOS
and at other times a
single argument int magic
.