Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cgiwrap_read(3) [debian man page]

cgiwrap_read(3) 						   cgi/cgiwrap.h						   cgiwrap_read(3)

NAME
cgiwrap_read - cgiwrap input function SYNOPSIS
#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 into buf_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 SEE ALSO
cgiwrap_iterenv(3), cgiwrap_putenv(3), cgiwrap_init_emu(3), cgiwrap_writef(3), cgiwrap_init_std(3), cgiwrap_writevf(3), cgiwrap_read(3), cgiwrap_write(3), cgiwrap_getenv ClearSilver 12 July 2007 cgiwrap_read(3)

Check Out this Related Man Page

cgiwrap_getenv(3)						   cgi/cgiwrap.h						 cgiwrap_getenv(3)

NAME
cgiwrap_getenv - the wrapper for getenv SYNOPSIS
#include <cgi/cgiwrap.h> NEOERR *cgiwrap_getenv (const char *k, char **v); ARGUMENTS
k - the environment variable to lookup DESCRIPTION
cgiwrap_getenv wraps the getenv function for access to environment variables, which are used to pass data to CGI scripts. This version differs from the system getenv in that it makes a copy of the value it returns, which gets around problems when wrapping this routine in garbage collected/reference counted languages by moving the ownership of the data to the calling function. RETURN VALUE
v - a newly allocated copy of the value of that variable, or NULL if not found. SEE ALSO
cgiwrap_iterenv(3), cgiwrap_putenv(3), cgiwrap_init_emu(3), cgiwrap_writef(3), cgiwrap_init_std(3), cgiwrap_writevf(3), cgiwrap_read(3), cgiwrap_write(3), cgiwrap_getenv ClearSilver 12 July 2007 cgiwrap_getenv(3)
Man Page