cgi_filehandle3
Return a file pointer to an uploaded file
Usage
#include <cgi/cgi.h>
FILE *cgi_filehandle (CGI *cgi, const char *form_name);
Arguments
cgi - a pointer to a CGI struct allocated with cgi_init
form_name - the form name that the file was uploaded as
(not the filename) (if NULL, we're asking for the
file handle for the PUT upload)
Overview
cgi_filehandle will return the stdio FILE pointer associated with a file that was uploaded using multipart/form-data. The FILE pointer is positioned at the start of the file when first available.
Return value
None
Releases
10 releases since Debian 4.0 (Etch); the text changed 2 times.