GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CGIWRAP_GETENV (3)

NAME

cgiwrap_getenv - the wrapper for getenv

CONTENTS

Synopsis
Arguments
Description

SYNOPSIS

   

#include <cgi/cgiwrap.h>

   

NEOERR *cgiwrap_getenv (const char *k, char **v);

ARGUMENTS

k - the environment variable to lookup

DESCRIPTION

cgiwrap_getenv wraps the getenv function for access to environment variables, which are used to pass data to CGI scripts. This version differs from the system getenv in that it makes a copy of the value it returns, which gets around problems when wrapping this routine in garbage collected/reference counted languages by moving the ownership of the data to the calling function.

RETURN VALUE

v - a newly allocated copy of the value of that variable, or
NULL if not found.

SEE ALSO

cgiwrap_iterenv(3), cgiwrap_putenv(3), cgiwrap_init_emu(3), cgiwrap_writef(3), cgiwrap_init_std(3), cgiwrap_writevf(3), cgiwrap_read(3), cgiwrap_write(3), cgiwrap_getenv
Search for    or go to Top of page |  Section 3 |  Main Index


ClearSilver CGIWRAP_GETENV (3) 12 July 2007

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.