|
aio_read(3) -- asynchronous I/O read
|
The aio_read() function allows the calling process to read aiocbp- >aio_nbytes from the file associated with aiocbp->aio_fildes into the buffer pointed to by aiocbp->aio_buf (see read(2)). The function call returns when the read request has been initiated or, at a minimum, queued for the file or device. The aiocb->aio_sigevent defines how the calling process will be notified upon I/O completion. If sigev_notify is SIGEV_NONE, then no notification will be posted to the ... |
aio_return(3) -- return error status of an asynchronous I/O operation
|
The aio_return() function returns the return status associated with the aiocbp passed in. The return status for an asynchronous I/O operation is the value that would be returned by the corresponding read(2) or write(2) or fsync(2) operation. If the error status for the operation is equal to EINPROGRESS, then the return status for the operation is undefined. The aio_return() function may be called exactly once to retrieve the return status of a given asynchronous operation; thereafter, if the sam... |
aio_sgi_init(3) -- asynchronous I/O initialization
|
The optional aio_sgi_init() function allows the calling process to initialize the asynchronous I/O interface. If this function is not called, the asynchronous I/O interface is initialized the first time a call is made to aio_read(), aio_write() or lio_listio(). aio_sgi_init() takes an aioinit_t * as an argument. If this argument is NULL, default initialization values are used. Initialization of the interface includes starting up slave threads which are used to carry out I/O requests. This is sig... |
aio_suspend(3) -- wait for an asynchronous I/O request
|
The aio_suspend() function shall suspend the calling thread until at least one of the asynchronous I/O operations referenced by the aiocbp argument has completed, until a signal interrupts the function, or if timeout is not NULL, until the time interval specified by timeout has passed. If any of the aiocb structures in the list correspond to the completed asynchronous I/O operations(i.e., the error status for the operation is not equal to EINPROGRESS, at the time of the call), the function shall... |
aio_write(3) -- asynchronous I/O write
|
The aio_write() function allows the calling process to write aiocbp- >aio_nbytes from the file associated with aiocbp->aio_fildes into the buffer pointed to by aiocbp->aio_buf (see write(2)). The function call returns when the write request has been initiated or, at a minimum, queued for the file or device. The aiocb->aio_sigevent defines how the calling process will be notified upon I/O completion. If sigev_notify is SIGEV_NONE, then no notification will be posted ... |
ftn/alarm(3) -- execute a subroutine after a specified time
|
This routine arranges for subroutine proc to be called after time seconds. If time is ``0'', the alarm is turned off and no routine will be called. The returned value will be the time remaining on the last alarm. |
audio/alCheckEvent(3d) -- Looks for an event in the event queue and retrieves it.
|
eventq expects an ALeventQueue structure from which you want to retrieve audio events. src expects an int with the value of the resource that generated or posted the audio event. param expects an int with the value of the parameter for the audio event. event expects an ALevent structure previously initialized by alNewEvent(3dm). |
audio/alCloseEventQueue(3d) -- close an audio event queue
|
queue expects the ALeventQueue handle for the audio event queue you want to close. This handle is the returned value of the alOpenEventQueue(3dm) call. |
audio/ALcloseport(3d) -- (obsolete) releases resources of an audio port
|
port expects the ALport structure for the audio port you want to deallocate. This structure is the returned value of the ALopenport(3dm) call. |
audio/alClosePort(3d) -- close an audio port
|
port expects the ALport structure for the audio port you want to close. This structure is the returned value of the alOpenPort(3dm) call. |
audio/alConnect(3d) -- connect two audio I/O resources
|
source is the source resource. dest is the destination resource. props is a parameter/value list of desired properties for the connection (see alGetParams(3dm) for more information on parameter/value lists). nprops is the number of parameter/value pairs in the list props. |
audio/alDeselectEvents(3d) -- Deselect event queue from receiving events from a resource.
|
eventq expects an ALeventQueue structure properly initialized by alOpenEventQueue(3dm). resource expects an int with the value of the resource you are interested in unregistering. params is an int pointer with a parameter list of the audio events you wish to unregister. nparams is an int with the total number of parameters of the list params. |
audio/alDiscardFrames(3d) -- discard audio from an audio port
|
port is the audio port from which you want to discard samples. This is the returned value of an alOpenPort(3dm) call. framecount expects the number of sample frames that you wish to discard. |