|
getfh(2) -- return file handle for file on remote node
|
The getfh() system call returns a file handle in the struct pointed to by fhp for the file pointed to by path. This information is used to perform an NFS mount for a remote node. getfh() is executed on the remote node; results are passed back to the program doing the NFS mount. The caller should never examine the file handle contents. The file handle only identifies a file to the node that produce... |
getgid(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. |
getgroups(2) -- get group access list
|
getgroups() gets the current group access list of the user process and stores it in the array gidset. The parameter ngroups indicates the number of entries which may be placed in gidset. No more than NGROUPS_MAX, as defined in , is ever returned. As a special case, if the ngroups argument is zero, getgroups() returns the number of group entries for the process. In this case, the array po... |
gethostid(2) -- get an identifier for the current host
|
The gethostid() function retrieves a 32-bit identifier for the current host. |
gethostname(2) -- get name of current host
|
gethostname() returns in the array to which hostname points, the standard host name for the current processor as set by sethostname() (see sethostname(2)). size specifies the length of the hostname array. hostname is null-terminated unless insufficient space is provided. |
getitimer(2) -- get and set value of interval timer
|
The getitimer() function stores the current value of the timer specified by which into the structure pointed to by value. The setitimer() function sets the timer specified by which to the value specified in the structure pointed to by value, and if ovalue is not a null pointer, stores the previous value of the timer in the structure pointed to by ovalue. The header declares the itimer... |
getksym(2) -- get information for a global kernel symbol
|
There are two ways that getksym can be used to retrieve kernel symbol information. As detailed below, if symname is provided and value is set to zero, getksym attempts to retrieve the value of the symbol; if a non-zero value is provided, the associated symbol name is retrieved. getksym, given a symname, looks for a global (STB_GLOBAL or STB_WEAK) symbol of that name in the symbol table of the stat... |
getmsg(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... |
getpagesize(2) -- get the current page size
|
The getpagesize() function returns the current page size. The getpagesize() function is equivalent to sysconf(_SC_PAGE_SIZE) and sysconf(_SC_PAGESIZE). |
getpeername(2) -- get address of connected peer
|
getpeername() returns the address of the peer socket connected to 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, the variable contains the actual size of the address returned (in bytes). If addr do... |
getpgid(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... |
getpgrp(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... |
getpgrp2(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... |