MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                          uwritec(9F)



NAME
     uwritec - remove a character from a uio structure

SYNOPSIS
     #include 



     int uwritec(uiot *uiop);


INTERFACE LEVEL
     Architecture independent level 1 (DI/DKI)

PARAMETERS
     uiop    Pointer to the uio(9S) structure


DESCRIPTION
     The uwritec() function returns  a  character  from  the  uio
     structure pointed to by uiop 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
     The uwritec() function can be called from  user,  interrupt,
     or kernel context.

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


     Writing Device Drivers



















SunOS 5.11          Last change: 16 Jan 2006                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™