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

  man pages->HP-UX 11i man pages              
Title
Content
Arch
Section
 
 sem_init(2) -- initialize an unnamed POSIX semaphore
    sem_init() is used to initialize an unnamed semaphore. A successful call to sem_init() will create a new unnamed semaphore referred to by sem, if one does not exist, initialize the unnamed semaphore descriptor, referred to by sem, to the non-negative value specified by value. If the unnamed semaphore already exists, i.e. created by a previous call to sem_init(), it is re-initialized only if its cu...
 sem_open(2) -- create/open a named POSIX semaphore
    sem_open() is used to open or create a named semaphore. A successful call to sem_open() will create a descriptor for the semaphore specified by name. The pointer to the semaphore returned by sem_open() can be used to access the semaphore associated with name in subsequent operations. The name argument points to a string referring to a semaphore. It should begin with a "/" and shall conform to pa...
 sem_post(2) -- unlock a POSIX semaphore
    sem_post() is used to post the semaphore referenced by sem. The calling thread will not return from its call to sem_post() unless it can either: increment the semaphore value, if there are no blocked threads on this semaphore; give the semaphore to a blocked thread, if there are any blocked threads on this semaphore; or have an error condition. If the semaphore value is < 0, the semaphore has bloc...
 sem_trywait(2) -- lock a POSIX semaphore
    sem_wait() is used to lock a semaphore. The calling thread will not return from its call to sem_wait() until one of the following events occur: it successfully obtains a lock on the semaphore; it is interrupted by a signal or an error condition occurs. sem_trywait() is used to lock a semaphore, if it is available. The value of the semaphore sem is checked at some unspecified time during the call. ...
 sem_unlink(2) -- unlink a named POSIX semaphore
    sem_unlink() is used to unlink named semaphores. A successful call to sem_unlink() marks the semaphore, specified by name, for removal. Calling sem_unlink() does not affect processes, including the calling process, which currently have a descriptor, obtained from a call to sem_open(). Named semaphores are uniquely identified by character strings. All character string names will be pre-processed to...
 sem_wait(2) -- lock a POSIX semaphore
    sem_wait() is used to lock a semaphore. The calling thread will not return from its call to sem_wait() until one of the following events occur: it successfully obtains a lock on the semaphore; it is interrupted by a signal or an error condition occurs. sem_trywait() is used to lock a semaphore, if it is available. The value of the semaphore sem is checked at some unspecified time during the call. ...
 send(2) -- send a message from a socket
    The send(), sendmsg(), and sendto() system calls transmit a message to another socket. send() can be used only when the socket is in a connected state, whereas sendmsg() and sendto() can be used at any time. sendmsg() allows the send data to be gathered from several buffers specified in the msghdr structure. Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 send(2) send(2) s is a sock...
 sendfile(2) -- send the contents of a file through a socket
    The sendfile() system call transmits the contents of a file associated with the file descriptor fd, plus an optional header and trailer buffers across a socket connection specified by s. sendfile() can be used only when the socket is in a connected state. offset specifies the offset within the file at which to start the file data transfer. nbytes is the number of bytes to be sent from the file. If...
 sendfile64(2) -- send the contents of a Large File through a socket
    The sendfile64() system call transmits the contents of a file (including a Large File (greater than 2GB)) associated with the file descriptor fd, plus an optional header and trailer buffers across a socket connection specified by s. sendfile64() should be used by 32- bit applications using Large Files; however, 64-bit applications can use sendfile64() for compatibility. 64-bit applications can als...
 sendmsg(2) -- send a message from a socket
    The send(), sendmsg(), and sendto() system calls transmit a message to another socket. send() can be used only when the socket is in a connected state, whereas sendmsg() and sendto() can be used at any time. sendmsg() allows the send data to be gathered from several buffers specified in the msghdr structure. Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 send(2) send(2) s is a sock...
 sendto(2) -- send a message from a socket
    The send(), sendmsg(), and sendto() system calls transmit a message to another socket. send() can be used only when the socket is in a connected state, whereas sendmsg() and sendto() can be used at any time. sendmsg() allows the send data to be gathered from several buffers specified in the msghdr structure. Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 send(2) send(2) s is a sock...
 serialize(2) -- force target process to run serially with other processes
    The serialize() system call is used to force the target process referenced by the pid value passed in to run serially with other processes also marked for serialization. If the value of pid is zero, then the currently running process is marked for serialization. Once a process has been marked by serialize(), the process stays marked until process completion, unless serialize() is reissued on the s...
 setacl(2) -- set access control list (ACL) information
    setacl() sets an existing file's access control list (ACL) or deletes optional entries from it. path points to a path name of a file. Similarly, fsetacl() sets an existing file's access control list for an open file known by the file descriptor fildes. The effective user ID of the process must match the owner of the file or be the super-user to set a file's ACL. A successful call to setacl() de...
 setaudid(2) -- set the audit ID (aid) for the current process
    setaudid() sets the audit ID (aid) for the current process. This call is restricted to the super-user.
 setaudproc(2) -- controls process level auditing for the current process and its decendents
    setaudproc() controls process level auditing for the current process and its decendents. It accomplishes this by setting or clearing the u_audproc flag in the u area of the calling process. When this flag is set, the system audits the process; when it is cleared, the process is not audited. This call is restricted to super-users. One of the following aflags must be used: AUD_PROC Audit the calling...
<<  [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