|
getpid(2) -- get process, process group and parent process ID.
|
These functions return process, process group and parent process IDs, as follows: getpgid() Process group ID of the specified process. If pid is zero, the call applies to the calling process. Same result as getpgrp2(). getpgrp() Process group ID of the calling process. getpgrp2() Process group ID of the specified process. If pid is zero, the call applies to the calling process. Same result as getp... |
getpmsg(2) -- receive next message from a STREAMS file
|
The getmsg() function retrieves the contents of a message located at the head of the stream head read queue associated with a STREAMS file and places the contents into one or more buffers. The message contains either a data part, a control part, or both. The data and control parts of the message are placed into separate buffers, as described below. The semantics of each part is defined by the orig... |
|
getppid(2) -- get process, process group and parent process ID.
|
These functions return process, process group and parent process IDs, as follows: getpgid() Process group ID of the specified process. If pid is zero, the call applies to the calling process. Same result as getpgrp2(). getpgrp() Process group ID of the calling process. getpgrp2() Process group ID of the specified process. If pid is zero, the call applies to the calling process. Same result as getp... |
getpriority(2) -- get or set process priority
|
getpriority() returns the priority of the indicated processes. setpriority() sets the priority of the indicated processes to priority. The processes are indicated by which and who, where which can have one of the following values: PRIO_PROCESS Get or set the priority of the specified process where who is the process ID. A who of 0 implies the process ID of the calling process. PRIO_PGRP Get or set... |
getprivgrp(2) -- get and set special attributes for group
|
getprivgrp() The getprivgrp() system call returns a table of the privileged group assignments into a user-supplied structure. grplist points to an array of structures of type privgrp_map, associating a group ID with a privilege mask. Privilege masks are formed by ORing together elements from the access types specified in . The array may have gaps in it, distinguished as having a pri... |
getrlimit(2) -- control maximum resource consumption
|
Limits on the consumption of a variety of resources by the calling process may be obtained with getrlimit() and set with setrlimit(). Each call to either getrlimit() or setrlimit() identifies a specific resource to be operated upon as well as a resource limit. A resource limit is represented by an rlimit structure, pointed to by the rlp argument and includes the following members: rlim_t rlim_cur;... |
getrlimit64(2) -- non-POSIX standard API interfaces to support large files
|
New API's to support large files in 32-bit applications. These API interfaces are not a part of the POSIX standard and may be removed in the future. creat64() The creat64() function returns a file descriptor which can be used to grow the file past 2 GB if desired. All other functional behaviors, returns, and errors are identical to creat(). fstat64() The fstat64() function is identical to fstat()... |
getrusage(2) -- get information about resource utilization
|
The getrusage() function provides measures of the resources used by the current process or its terminated and waited-for child processes. If the value of the who argument is RUSAGE_SELF, information is returned about resources used by the current process. If the value of the who argument is RUSAGE_CHILDREN, information is returned about resources used by the terminated and waited-for children of t... |
getsid(2) -- get session ID
|
The getsid() function returns the session ID of the specified process. If pid is 0, the call applies to the current process. For this to be allowed, the current process and the referenced process must be in the same session. |
getsockname(2) -- get socket address
|
getsockname() returns the local address of the socket indicated by s, where s is a socket descriptor. addr points to a socket address structure in which this address is returned. addrlen points to a variable that should be initialized to indicate the size of the address structure. On return it contains the actual size of the address returned (in bytes). If addr does not point to enough space to co... |
getsockopt(2) -- get and set options on sockets
|
The getsockopt() and setsockopt() system calls manipulate options associated with a socket. The socket is identified by the socket descriptor s. Options can exist at multiple protocol levels, and they are always present at the uppermost "socket" level (see socket(2)). When manipulating socket options, the level at which the option resides (level) and the name of the option (optname) must be spec... |
gettimeofda(2) -- get the date and time
|
The gettimeofday() function obtains the current time, expressed as seconds and microseconds since Epoch, and stores it in the timeval structure pointed to by tp. The resolution of the system clock is one microsecond. |
gettimeofday(2) -- get the date and time
|
The gettimeofday() function obtains the current time, expressed as seconds and microseconds since Epoch, and stores it in the timeval structure pointed to by tp. The resolution of the system clock is one microsecond. |
gettune(2) -- get the value of a kernel tunable parameter
|
This function retrieves the current value of the kernel tunable parameter named tunable. The value is passed back through the supplied value pointer. The value returned is the value for the tunable that is being used by the currently running kernel. |
getuid(2) -- get real user, effective user, real group, and effective group IDs
|
The following functions return the information indicated: getuid() Real-user-ID of the calling process. geteuid() Effective-user-ID of the calling process. getgid() Real-group-ID of the calling process. getegid() Effective-group-ID of the calling process. No means is available for ascertaining the saved-user-ID or savedgroup-ID of a process. |