|
accept(2) -- accept a connection on a socket
|
The accept() system call is used with connection-based socket types, such as SOCK_STREAM. The argument, s, is a socket descriptor created with socket(), bound to a local address by bind(), and listening for connections after a listen(). accept() extracts the first connection on the queue of pending connections, creates a new socket with the same properties as s, and returns a new file descriptor, ... |
access(2) -- determine accessibility of a file
|
The access() system call checks the file pointed to by path for accessibility according to the bit pattern contained in amode. access() uses the real user ID, not the effective user ID, and the real group ID, not the effective group ID. The value of amode is either the bit-wise inclusive OR of the access permissions to be checked, or the existence test. You can use the following symbolic constants... |
|
acct(2) -- enable or disable process accounting
|
The acct() system call enables or disables the system's process accounting routine. If the routine is enabled, an accounting record is written on an accounting file for each process that terminates. Termination can be caused by one of two things: an exit() call or a signal (see exit(2) and signal(5)). The effective user ID of the calling process must be superuser to use this call. path points to ... |
acl(2) -- set a file's Access Control List (ACL) information (JFS File Systems only)
|
The acl() system call is used to manipulate ACLs on JFS file system objects. pathp points to a pathname naming a file. nentries specifies how many ACL entries are pointed to by aclbufp. aclbufp is a pointer to the first element of an array of struct acl. This type is defined in as follows: struct acl { int a_type; /* entry type */ uid_t a_id; /* user or group ID */ ushort a_perm; /* en... |
adjtime(2) -- correct the time to synchronize the system clock
|
The function adjtime() adjusts the current time of the system. The time is either advanced or retarded by the amount of time specified in the struct timeval pointed to by delta. The adjustment is made by applying small correctional adjustments to the value of current time that the system keeps. The time is always increasing monotonically, but at a rate slightly slower or faster than normal. A time... |
aio_cancel(2) -- cancel an asynchronous I/O operation
|
The aio_cancel() function attempts to cancel the asynchronous I/O request currently outstanding for the aiocb referenced by aiocbp or, if aiocbp is NULL, any asynchronous I/O operations currently outstanding for the file descriptor fildes. If an asynchronous I/O operation is successfully canceled as a result of aio_cancel, its status is set to ECANCELED, and any signal delivery specified for that ... |
aio_error(2) -- return error status of an asynchronous I/O operation
|
The aio_error() function returns the error status of the asynchronous I/O operation that was initiated with the aiocb and referenced by aiocbp. The error status for an asynchronous I/O operation is the errno value set by the corresponding read(), write(), or fsync() function. To use this function, link in the realtime library by specifying -lrt on the compiler or linker command line. |
aio_fsync(2) -- force outstanding asynchronous operations on a file to the synchronized state
|
The aio_fsync() function asynchronously forces all I/O operations that are enqueued at the time of the call for the file or device referenced by aiocbp->aio_fildes to the synchronized I/O state. The function call returns when the synchronization request has been enqueued to the file or device (even when the data cannot be synchronized immediately). Successful completion of the aio_fsync() request ... |
aio_read(2) -- start an asynchronous read operation
|
The aio_read() function allows the calling process to perform an asynchronous read from a previously opened file. The function call returns when the read operation has been enqueued for processing. At this point, processing of the read operation may proceed concurrently with execution of the calling process or thread. If an error condition is detected that prevents the read request from being enqu... |
aio_reap(2) -- wait for multiple asynchronous I/O requests
|
The aio_reap() function is an extension of the aio_suspend() library function. Refer to the aio_suspend() manpage for a general description of the interface, the aiocb data structure and other structures relevant for asynchronous I/O (AIO). The timeout function parameter has the same meaning as for the aio_suspend() function. This function suspends the calling thread until at least waitfor AIO ope... |
aio_return(2) -- return status of an asynchronous I/O operation
|
The aio_return() function returns the return status associated with the aiocb structure referenced by the aiocbp argument. The return value for an asynchronous I/O operation is the value that would be set by the corresponding read(), write(), or fsync() operation. If the operation has been queued but not completed, aio_return() returns -1 and errno is set to EINPROGRESS. A successful aio_return() ... |
aio_suspend(2) -- wait for an asynchronous I/O operation to complete
|
The aio_suspend() function suspends the calling process or thread until at least one of the asynchronous I/O operations initiated with one of the nent aiocb pointers contained in list has completed, or a signal interrupts the function, or timeout is not NULL and the time interval specified by timeout has passed. Multiple threads may issue simultaneous calls to aio_suspend(), referencing one or mor... |
aio_write(2) -- start asynchronous write operation
|
The aio_write() function allows the calling process to perform an asynchronous write to a previously opened file. The function call returns when the write operation has been enqueued for processing. At this point, processing of the write operation may proceed concurrently with execution of the calling process or thread. If an error condition is detected that prevents the write request from being e... |
alarm(2) -- set a process's alarm clock
|
alarm() instructs the alarm clock of the calling process to send the signal SIGALRM to the calling process after the number of real-time seconds specified by sec have elapsed; see signal(5). Specific implementations might place limitations on the maximum supported alarm time. The constant MAX_ALARM defined in specifies the implementation-specific maximum. Whenever sec is greater that... |
audctl(2) -- start or halt the auditing system and set or get audit files
|
audctl() sets or gets the auditing system "current" and "next" audit files, and starts or halts the auditing system. This call is restricted to superusers. cpath and npath hold the absolute path names of the "current" and "next" files. mode specifies the audit file's permission bits. cmd is one of the following specifications: AUD_ON The caller issues the AUD_ON command with the required ... |