Query: ureadc
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ureadc(9F) Kernel Functions for Drivers ureadc(9F)NAMEureadc - add character to a uio structureSYNOPSIS#include <sys/uio.h> #include <sys/types.h> int ureadc(int c, uio_t *uio_p);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSc The character added to the uio(9S) structure. uio_p Pointer to the uio(9S) structure.DESCRIPTIONureadc() transfers the character c into the address space of the uio(9S) structure pointed to by uio_p, and updates the uio structure as for uiomove(9F).RETURN VALUES0 is returned on success and EFAULT on failure.CONTEXTureadc() can be called from user or interrupt context.SEE ALSOuiomove(9F), uwritec(9F), iovec(9S), uio(9S) Writing Device Drivers SunOS 5.10 11 Apr 1991 ureadc(9F)