1cgiwrap_read(3)                  cgi/cgiwrap.h                 cgiwrap_read(3)
2
3
4

NAME

6       cgiwrap_read  - cgiwrap input function
7

SYNOPSIS

9       #include <cgi/cgiwrap.h>
10
11
12       void cgiwrap_read (char *buf, int buf_len, int *read_len);
13
14
15
16

ARGUMENTS

18       buf - a pre-allocated buffer to read the data into
19       buf_len - the size of the pre-allocated buffer
20
21

DESCRIPTION

23       cgiwrap_read  is  used  to  read incoming data from the client, usually
24       from a POST or PUT HTTP request.  It wraps the part of fread(stdin).
25
26

RETURN VALUE

28       read_len - the number of bytes read into buf
29
30

SEE ALSO

32       cgiwrap_writevf(3),     cgiwrap_write(3),     cgiwrap_read(3),     cgi‐
33       wrap_iterenv(3),     cgiwrap_putenv(3),    cgiwrap_init_emu(3),    cgi‐
34       wrap_getenv(3), cgiwrap_init_std(3), cgiwrap_writef
35
36
37
38ClearSilver                    14 November 2006                cgiwrap_read(3)
Impressum