|
gethostname(2) -- get/set host name
|
These functions are used to access or to change the host name of the current processor. |
getitimer(2) -- get or set value of an interval timer
|
The system provides each process with three interval timers, each decrementing in a distinct time domain. When any timer expires, a signal is sent to the process, and the timer (potentially) restarts.... |
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... |