cgi_error(3)

cgi_error3

Display an error string to the user

Usage

#include <cgi/cgi.h>
void cgi_error (CGI *cgi, const char *fmt, ...)
                ATTRIBUTE_PRINTF(2,3);

Arguments

cgi - a pointer to a CGI struct
fmt - printf style format string and arguments

Overview

cgi_error will output a 500 error containing the specified error message. This function is likely to be removed from future versions in favor of a user error mechanism.

Return value

None

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.