*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages              
Title
Content
Arch
Section
 
 setcontext(2) -- get and set current user context
    The getcontext() function initializes the structure pointed to by ucp to the current user context of the calling process. The ucontext_t type that ucp points to defines the user context and includes the contents of the calling process' machine registers, the signal mask, and the current execution stack. The setcontext() function restores the user context pointed to by ucp. A successful call to se...
 setdomainna(2) -- get/set name of current Network Information Service domain
    getdomainname() returns the name of the Network Information Service (NIS) domain for the current processor, as previously set by setdomainname(). The parameter namelen specifies the size of the name array. The returned value is null-terminated unless the area pointed to by name is not large enough to hold the domain name plus the null byte. In this case, only the namelen number of bytes is returne...
 setevent(2) -- set current events and system calls which are to be audited
    setevent() sets the events and system calls to be audited. The event and system call settings in the tables pointed to by a_syscall and a_event become the current settings. This call is restricted to the super-user.
 setgid(2) -- set user and group IDs
    setuid() sets the real-user-ID (ruid), effective-user-ID (euid), and/or saved-user-ID (suid) of the calling process. The super-user's euid is zero. The following conditions govern setuid's behavior: + If the euid is zero, setuid() sets the ruid, euid, and suid to uid. + If the euid is not zero, but the argument uid is equal to the ruid or the suid, setuid() sets the euid to uid; the ruid and sui...
 setgroups(2) -- set group access list
    setgroups() sets 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 and must be no more than NGROUPS_MAX, as defined in . Only super-user can set new groups by adding to the group access list of the current user process; any user can delete groups from it.
 sethostname(2) -- set name of host cpu
    The sethostname() system call sets the name of the host processor to name, which has a length of namelen characters. At system boot time sethostname() is normally executed by the hostname command (see hostname(1)) in the /sbin/init.d/hostname script. Host names are limited to MAXHOSTNAMELEN characters, as defined in .
 setitimer(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...
 setpgid(2) -- set process group ID for job control
    The setpgid() and setpgrp2() system calls cause the process specified by pid to join an existing process group or create a new process group within the session of the calling process. The process group ID of the process whose process ID is pid is set to pgid. If pid is zero, the process ID of the calling process is used. If pgid is zero, the process ID of the indicated process is used. The process...
 setpgrp(2) -- set process group ID
    If the calling process is not already a session leader, setpgrp() sets the process group ID of the calling process to the process ID of the calling process. If setpgrp() creates a new session, then the new session has no controlling terminal. The setpgrp() function has no effect when the calling process is a session leader.
 setpgrp2(2) -- set process group ID for job control
    The setpgid() and setpgrp2() system calls cause the process specified by pid to join an existing process group or create a new process group within the session of the calling process. The process group ID of the process whose process ID is pid is set to pgid. If pid is zero, the process ID of the calling process is used. If pgid is zero, the process ID of the indicated process is used. The process...
 setpgrp3(2) -- create session and set process group ID; for HP-UX 9.x compatibility.
    If the calling process is not a process group leader, setpgrp3() creates a new session. The calling process becomes the session leader of this new session, it becomes the process group leader of a new process group, and it has no controlling terminal. The process group ID of the calling process is set equal to the process ID of the calling process. The calling process is the only process in the ne...
 setpriority(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...
 setprivgrp(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...
 setregid(2) -- sets the real and effective group IDs
    setregid() sets the real and effective group IDs of the calling process. Only a privileged process can set the real group ID and/or the effective group ID to any valid value. A non-privileged process can set the real group ID to the saved set-group-ID from one of the exec family of functions, or the effective group ID to either the saved set-group-ID or the real group ID. Any supplementary group I...
 setresgid(2) -- set real, effective, and saved user and group IDs
    setresuid() sets the real, effective and/or saved user ID of the calling process. If the current real, effective or saved user ID is equal to that of a user having appropriate privileges, setresuid() sets the real, effective and saved user IDs to ruid, euid, and suid, respectively. Otherwise, setresuid() only sets the real, effective, and saved user IDs if ruid, euid, and suid each match at least ...
<<  [Prev]  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  
22  23  24  25  [Next]  >>
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service