Retrieve stdin

xcall CGIUTL, CGIOP_STDIN, string, status

Opcode 1, CGIOP_STDIN retrieves the entire stdin into the string parameter. The web server will have put all of the form information to be passed to the CGI program into stdin, provided that you set the form method to "POST." Returns status=0 for ok, 1 for overflow (string too small), or -1 if not in CGI mode (i.e. –cgi switch not specified). This is considered a utility operation and is probably not necessary since most of the other operations are capable of reading the stdin directly.