cgiwrap_read(3) - Linux man page
Name
cgiwrap_read - cgiwrap input functionSynopsis
#include <cgi/cgiwrap.h> void cgiwrap_read (char *buf, int buf_len, int *read_len);
Arguments
buf - a pre-allocated buffer to read the data intobuf_len - the size of the pre-allocated buffer
Description
cgiwrap_read is used to read incoming data from the client, usually from a POST or PUT HTTP request. It wraps the part of fread(stdin).Return Value
read_len -the number of bytes read into buf