[][src]Module simple_libc::process

Modules

exec
namespace
prctl
priority
resource
sigaction
sigmask
signalfd
wait

Functions

chdir

Change the current working directory to the specified path.

chroot

Attempts to change the root directory of the current process to the specified path.

fork

Forks the current process.

getallgroups

Returns a vector containing the real group ID, the effective group ID, and all group IDs returned by getgroups().

getegid

Returns the current effective group ID.

geteuid

Returns the current effective user ID.

getgid

Returns the current real group ID.

getgroups

Returns a vector containing the current supplementary group IDs.

getgroups_raw

Low-level interface to the C getgroups() function.

getlogin

[NOT RECOMMENDED] Returns the username of the currently logged-in user.

getpid
getppid
getregid

Gets the real and effective group IDs via the most efficient method possible.

getresgid
getresuid
getreuid

Gets the real and effective user IDs via the most efficient method possible.

gettid
getuid

Returns the current real user ID.

setegid
seteuid
setgid
setgroups
setpgid
setregid
setresgid
setresuid
setreuid
setsid
setuid