'\"macro stdmacro
.if n .pH ddi_dki.ureadc @(#)ureadc	40.6 of 10/10/89
.\" Copyright 1989 AT&T
.de IX
.ie '\\n(.z'' .tm .Index: \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9	\\n%
.el \\!.IX \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
..
.nr X
.if \nX=0 .ds x} ureadc D3DK "" "DDI/DKI" "\&"
.if \nX=1 .ds x} ureadc D3DK "" "DDI/DKI"
.if \nX=2 .ds x} ureadc D3DK "" "\&"
.if \nX=3 .ds x} ureadc "" "" "\&"
.TH \*(x}
.SH NAME
\f4ureadc\f1 \- add character to a \f4uio\f1 structure
.IX "\f4ureadc\fP(D3DK)"
.SH SYNOPSIS
.nf
.na
\f4#include <sys/uio.h>
.sp 0.5
int ureadc(int\f2 c, \f4uio_t *\f2uio_p\f4);\f1
.ad
.fi
.SH ARGUMENTS
.RS 0n 10
.IP "\f2c\f1" 10n
The character added to the \f4uio\f1 structure.
.IP "\f2*uio_p\f1" 10n
Pointer to the \f4uio\f1(D4DK) structure.
.RE
.SH DESCRIPTION
\f4ureadc\f1 transfers the character \f2c\f1 into the 
address space of the \f4uio\f1 structure pointed to by
\f2uio_p\f1, and updates the \f4uio\f1 structure as for \f4uiomove\fP(D3DK).
.SH RETURN VALUE
\f40\f1 is returned on success and \f4EFAULT\f1 on failure.
.SH LEVEL
Base or Interrupt
.SH SEE ALSO
.na
\f4uiomove\f1(D3DK),
\f4uwritec\f1(D3DK),
\f4iovec\f1(D4DK),
\f4uio\f1(D4DK)
.ad
