'\"macro stdmacro
.if n .pH ddi_dki.uwritec @(#)uwritec	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} uwritec D3DK "" "DDI/DKI" "\&"
.if \nX=1 .ds x} uwritec D3DK "" "DDI/DKI"
.if \nX=2 .ds x} uwritec D3DK "" "\&"
.if \nX=3 .ds x} uwritec "" "" "\&"
.TH \*(x}
.SH NAME
\f4uwritec\f1 \- remove a character from a \f4uio\f1 structure
.IX "\f4uwritec\fP(D3DK)"
.SH SYNOPSIS
.nf
.na
\f4#include <sys/uio.h>
.sp 0.5
int uwritec (uio_t *\f2uio_p\f4);\f1
.ad
.fi
.SH ARGUMENTS
.RS 0n 10
.IP "\f2*uio_p\f1" 10n
Pointer to the \f4uio\f1(D4DK) structure.
.RE
.SH DESCRIPTION
\f4uwritec\f1 returns a character from the 
\f4uio\f1 structure pointed to by \f2uio_p\f1,
and updates the \f4uio\f1 structure as for \f4uiomove\fP(D3DK).
.SH RETURN VALUE
The next character for processing is returned on success,
and \f4-1\f1 is returned if \f4uio\f1 is empty
or there is an error.
.SH LEVEL
Base or Interrupt
.SH SEE ALSO
.na
\f4uiomove\f1(D3DK),
\f4ureadc\f1(D3DK),
\f4iovec\f1(D4DK),
\f4uio\f1(D4DK)
.ad
