Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversuwritec(9F)


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)

PARAMETERS

 
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. See uiomove(9F).

RETURN VALUES

 

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

CONTEXT

 

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

SEE ALSO

 

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

Writing Device Drivers


SunOS 5.9Go To TopLast Changed 11 Apr 1991

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.