cgiwrap_getenv man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

cgiwrap_getenv(3)		 cgi/cgiwrap.h		     cgiwrap_getenv(3)

NAME
       cgiwrap_getenv  - the wrapper for getenv

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),	  cgi‐
       wrap_writef(3),	   cgiwrap_init_std(3),	   cgiwrap_writevf(3),	  cgi‐
       wrap_read(3), cgiwrap_write(3), cgiwrap_getenv

ClearSilver			 12 July 2007		     cgiwrap_getenv(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net