cgiwrap_read(3)

cgiwrap_read3

Cgiwrap input function

Usage

#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

Overview

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

Releases

10 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0–13

From clearsilver-dev 0.10.5-6+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.