Sun Microsystems S16A Laptop User Manual


 
S16A User’s Guide Input and Output
EDT, Inc. October, 1996 9
s16a_cancel
Description
Stops any transfers currently in progress, resets the ring buffer pointers to restart on the current buffer.
Syntax
int s16a_cancel(S16aDev *s16a_p);
Arguments
s16a_p S16A device handle returned from s16a_open.
Return
0 on success, –1 on failure. Sets errno on failure.
s16a_cancel_current
Description
Stops the current transfers, resets the ring buffer pointers to the next buffer.
Syntax
int s16a_cancel(S16aDev *s16a_p);
Arguments
s16a_p S16A device handle returned from s16a_open.
Return
0 on success, –1 on failure. Sets errno on failure.
s16a_check_next_buffer
Description
Checks whether the next buffer is complete.
Syntax
int s16a_check_next_buffer(S16aDev *s16a_p);
Arguments
s16a_p S16A device handle returned from s16a_open.
Return
0 on success, –1 on failure. Sets errno on failure.