1uwritec(9F) Kernel Functions for Drivers uwritec(9F)
2
3
4
6 uwritec - remove a character from a uio structure
7
9 #include <sys/uio.h>
10
11
12
13 int uwritec(uio_t *uio_p);
14
15
17 Architecture independent level 1 (DDI/DKI)
18
20 uio_p Pointer to the uio(9S) structure
21
22
24 The uwritec() function returns a character from the uio structure
25 pointed to by uio_p and updates the uio structure. See uiomove(9F).
26
28 The next character for processing is returned on success, and -1 is
29 returned if uio is empty or if there is an error.
30
32 The uwritec() function can be called from user, interrupt, or kernel
33 context.
34
36 uiomove(9F), ureadc(9F), iovec(9S), uio(9S)
37
38
39 Writing Device Drivers
40
41
42
43SunOS 5.11 16 Jan 2006 uwritec(9F)