[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    uwritec(9F) manual page Table of Contents

Name

uwritec - remove a character from a uio structure

Synopsis


#include <sys/uio.h>

int uwritec (uio_t *uio_p);

Interface Level

Architecture independent level 1 (DDI/DKI).

Arguments

uio_p
Pointer to the uio(9S) structure.

Description

uwritec() returns a character from the uio structure pointed to by uio_p, and updates the uio structure as for uiomove(9F) .

Return Values

The next character for processing is returned on success, and -1 is returned if uio is empty or there is an error.

Context

uwritec() can be called from user or interrupt context.

See Also

uiomove(9F) , ureadc(9F) , iovec(9S) , uio(9S)


Table of Contents