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

  man pages->HP-UX 11i man pages              
Title
Content
Arch
Section
 
 setresuid(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 ...
 setreuid(2) -- set real and effective user IDs
    The setreuid() function sets the real and effective user IDs of the current process to the values specified by the ruid and euid arguments. If ruid or euid is -1, the corresponding effective or real user ID of the current process is left unchanged. A process with appropriate privileges can set either ID to any value. An unprivileged process can only set the effective user ID if the euid argument i...
 setrlimit(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;...
 setrlimit64(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()...
 setsid(2) -- create session and set process group ID
    If the calling process is not a process group leader, setsid() 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 new ...
 setsockopt(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...
 settimeofda(2) -- set the date and time
    The settimeofday() function sets the current time, expressed as seconds and microseconds since Epoch, and passed as the timeval structure pointed to by tp. The resolution of the system clock is one microsecond.
 settimeofday(2) -- set the date and time
    The settimeofday() function sets the current time, expressed as seconds and microseconds since Epoch, and passed as the timeval structure pointed to by tp. The resolution of the system clock is one microsecond.
 settune(2) -- set the value of a kernel tunable parameter
    This function sets the value of the kernel tunable parameter named tunable to the supplied value. This new value will take effect immediately, except in the cases noted below. Some parameters cannot be changed without rebooting the OS kernel. Some parameters represent limits on resources that can be consumed by individual processes. In general, changes to these parameters do not affect processes t...
 settune_txn(2) -- sets the values of kernel tunable parameters in a transaction
    This function is used to modify the values of a set of kernel tunable Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 settune_txn(2) settune_txn(2) parameters at the same time. The caller needs to have super-user privileges to make this call. Changes are made to the tunables using a transactional change model using a three-phase commit where the following rules apply: + None of the ...
 setuid(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...
 setuname(2) -- get information about computer system; set node name (system name)
    uname() The uname() system call places information identifying the computer system in the utsname structure pointed to by name. The utsname structure, defined in , is set up as follows: #define UTSLEN 9 #define SNLEN 15 char sysname[UTSLEN]; char nodename[UTSLEN]; char release[UTSLEN]; char version[UTSLEN]; char machine[UTSLEN]; char idnumber[SNLEN]; Each field is a null-terminated ...
 shmat(2) -- shared memory operations
    shmat() attaches the shared memory segment associated with the shared memory identifier specified by shmid to the data segment of the calling process. The segment is attached for reading if (shmflg & SHM_RDONLY) is "true"; otherwise, it is attached for reading and writing. It is not possible to attach a segment for write only. If the shared memory segment has never been attached to by any proces...
 shmctl(2) -- shared memory control operations
    The shmctl() system call provides a variety of shared memory control operations as specified by the cmd argument. cmd can have the following values: IPC_STAT Place the current value of each member of the data structure associated with shmid into the structure pointed to by buf. The contents of this structure are defined in glossary(9). IPC_SET Set the value of the following members of the data str...
 shmdt(2) -- shared memory operations
    shmat() attaches the shared memory segment associated with the shared memory identifier specified by shmid to the data segment of the calling process. The segment is attached for reading if (shmflg & SHM_RDONLY) is "true"; otherwise, it is attached for reading and writing. It is not possible to attach a segment for write only. If the shared memory segment has never been attached to by any proces...
<<  [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