|
getpagesize(2) -- get system page size
|
Return the number of bytes in a page. This is the system's page size, which is not necessarily the same as the hardware page size. |
getpeername(2) -- get name of connected peer
|
Getpeername returns the name of the peer connected to socket s. The namelen parameter should be initialized to indicate the amount of space pointed to by name. On return it contains the actual size of... |
|
getpid(2) -- get process identification
|
getpid returns the process ID of the current process. (This is often used by routines that generate unique temporary file names.) getppid returns the process ID of the parent of the current process. |
getpriority(2) -- get/set program scheduling priority
|
The scheduling priority of the process, process group, or user, as indicated by which and who is obtained with the getpriority call and set with the setpriority call. Which is one of PRIO_PROCESS, PRI... |
getresuid(2) -- get real, effective and saved user or group ID
|
getresuid and getresgid (both introduced in Linux 2.1.44) get the real, effective and saved user ID's (resp. group ID's) of the current process. |
getrlimit(2) -- get/set resource limits and usage
|
getrlimit and setrlimit get and set resource limits respectively. resource should be one of: RLIMIT_CPU /* CPU time in seconds */ RLIMIT_FSIZE /* Maximum filesize */ RLIMIT_DATA /* max data size */ RL... |
getsid(2) -- get session ID
|
getsid(0) returns the session ID of the calling process. getsid(p) returns the session ID of the process with process ID p. |
getsockname(2) -- get socket name
|
Getsockname returns the current name for the specified socket. The namelen parameter should be initialized to indicate the amount of space pointed to by name. On return it contains the actual size of ... |
getsockopt(2) -- get and set options on sockets
|
Getsockopt and setsockopt manipulate the options associated with a socket. Options may exist at multiple protocol levels; they are always present at the uppermost socket level. When manipulating socke... |
gettimeofday(2) -- get / set time
|
gettimeofday and settimeofday can get and set the time as well as a timezone. tv is a timeval struct, as specified in /usr/include/sys/time.h: struct timeval { long tv_sec; /* seconds */ long tv_usec;... |
getuid(2) -- get user identity
|
getuid returns the real user ID of the current process. geteuid returns the effective user ID of the current process. The real ID corresponds to the ID of the calling process. The effective ID corresp... |
get_kernel_syms(2) -- retrieve exported kernel and module symbols
|
If table is NULL, get_kernel_syms returns the number of symbols available for query. Otherwise it fills in a table of structures: struct kernel_sym { unsigned long value; char name[60]; }; The symbols... |
idle(2) -- make process 0 idle
|
idle is an internal system call used during bootstrap. It marks the process's pages as swappable, lowers its priority, and enters the main scheduling loop. idle never returns. Only process 0 may call... |
init_module(2) -- initialize a loadable module entry
|
init_module loads the relocated module image into kernel space and runs the module's init function. The module image begins with a module structure and is followed by code and data as appropriate. Th... |
intro(2) -- Introduction to system calls
|
This chapter describes the Linux system calls. For a list of the 164 syscalls present in Linux 2.0, see syscalls(2). Calling Directly [Toc] [Back] In most cases, it is unnecessary to invoke a sy... |