cgi_error (3) - Linux Man Pages

cgi_error: display an error string to the user

NAME

cgi_error - display an error string to the user

SYNOPSIS

#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

DESCRIPTION

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