|
standard/setash(2) -- set array session handle
|
The setash function changes the handle for the array session containing the current process to the value specified by ash. The current process must have superuser privileges to invoke setash. Ordinarily, a handle that is unique within the current system is assigned to an array session when the array session is created using the newarraysess(2) function. The setash function can be used to override this default handle, perhaps for assigning a handle that is unique across an entire array or for syn... |
standard/setgroups(2) -- set group access list
|
setgroups initializes the group access list of the current user process according to the array gidset. The parameter ngroups indicates the number of entries in the array. The sysconf(_SC_NGROUPS_MAX) system call may be used to determine at runtime the maximum allowable value for ngroups in the particular kernel configuration (it is an lbootable value (ngroups_max) which is declared in /var/sysgen/master.d/kernel). If using the BSD version, ngroups may never be greater than NGROUPS (as defined in... |
|
standard/setpgid(2) -- set process group ID
|
setpgid sets the process group ID of the process with ID pid to pgid. If pgid is equal to pid, the process becomes a process group leader. If pgid is not equal to pid, the process becomes a member of an existing process group. If pid is equal to 0, the process ID of the calling process is used. If pgid is equal to 0, the process specified by pid becomes a process group leader. setpgid fails and returns an error if one or more of the following are true: <... |
standard/setpgrp(2) -- set process group ID (System V and 4.3BSD)
|
The System V version of setpgrp behaves identically to setsid (2). The BSD version of setpgrp sets the process group of the specified process pid to the specified pgrp. If pid is zero, then the call applies to the current process. If pgrp is zero and pid refers to the calling process, setpgrp() behaves identically to setsid (2). If the invoker is not the super-user, then the affected process must have the same effective user-id as the invoker or be a member of the same session as the calling pro... |
standard/setprid(2) -- set project ID
|
The setprid function changes the project ID for the array session containing the current process to the value specified by prid. Ordinarily, the project ID for a new array session is inherited from the array session of the process that created it. However, when the array session is created as part of a new login (or moral equivalent, such as a batch job or rsh(1)), it may be appropriate to assign a new project ID, such as a default project ID associated with the user that is logging in. The setp... |
standard/setregid(2) -- set real and effective group ID
|
The real and effective group ID's of the current process are set to the arguments. Unprivileged users may change the real group ID to the effective group ID and vice-versa; only the super-user may make other changes. Supplying a value of -1 for either the real or effective group ID forces the system to substitute the current ID in place of the -1 parameter. |
standard/setreuid(2) -- set real and effective user ID's
|
The real and effective user ID's of the current process are set according to the arguments. If ruid or euid is -1, the current uid is filled in by the system. Unprivileged users may change the real user ID to the effective user ID and vice-versa; only the super-user may make other changes. |
standard/setsid(2) -- set session ID
|
If the calling process is not already a process group leader, setsid sets the process group ID and session ID of the calling process to the process ID of the calling process, and releases the process's controlling terminal. setsid will fail and return an error if the following is true: EPERM The calling process is already a process group leader, or there are processes other than the calling process whose process group ID is equal to the process... |
standard/setspinfo(2) -- set service provider information
|
The setspinfo function sets the service provider information for the array session containing the current process to the contents of the acct_spi struct pointed to by spi. Typically, this would only be done when the array session is first created. The invoker must have superuser privileges. Service provider information is intended for use by software such as batch queueing systems that need to maintain fairly static information about an array session. It is included in session accounting records... |
standard/setuid(2) -- set user and group IDs
|
The setuid system call sets the real user ID, effective user ID, and saved user ID of the calling process. The setgid system call sets the real group ID, effective group ID, and saved group ID of the calling process. At login time, the real user ID, effective user ID, and saved user ID of the login process are set to the login ID of the user responsible for the creation of the process. The same is true for the real, effective, and saved group IDs; they are set... |
standard/sgigsc(2) -- SGI graphics system call
|
This system call is used for underlying operating system support of graphics and window management functions. It is not intended for direct use by user programs. PPPPaaaaggggeeee 1111 |
ftn/sgikopt(2) -- retrieve kernel option strings
|
The IRIX kernel saves most of the IRIS PROM Monitor environment variables (option strings) for later use by the kernel as well as user programs. sgikopt allows the user to retrieve the values of these variables. The option argument specifies the name of the variable; the value of the option is returned in the buffer addressed by buf. The size in bytes of this buffer is given by buflen. The string returned by sgikopt is guaranteed to be null-terminated, even if the length of the option value stri... |
standard/sgikopt(2) -- retrieve kernel option strings
|
The IRIX kernel saves most of the IRIS PROM Monitor environment variables (option strings) for later use by the kernel as well as user programs. sgikopt allows the user to retrieve the values of these variables. The option argument specifies the name of the variable; the value of the option is returned in the buffer addressed by buf. The size in bytes of this buffer is given by buflen. The string returned by sgikopt is guaranteed to be null-terminated, even if the length of the option value stri... |
standard/sginap(2) -- timed sleep and processor yield function
|
The sginap system call provides two functions. With an argument of 0, it yields the processor to any higher or equal priority threads immediately, thus potentially allowing another thread to run. Note that because normally the user has no direct control over the exact priority of a given thread, this does not guarantee that another thread will run. With an argument which is non-zero, sginap will suspend the thread for between ticks-1 and ticks clock ticks. That is, it will suspend for at least t... |
standard/sgi_eag_mount(2) -- mount a filesystem with attributes
|
sgi_eag_mount is identical to mount(2), except that it accepts an additional argument attrs, which contains a data block specifying default attributes for the filesystem. sgi_eag_mount requires that the calling process have appropriate privilege. If _POSIX_CAP is in effect, the appropriate capability is CAP_MOUNT_MGT. |