~ubuntu-branches/ubuntu/gutsy/curl/gutsy

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_getenv.3

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-29 15:04:24 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060629150424-pn00qumt9sml8p4m
Tags: 7.15.4-1ubuntu1
Synchronize to Debian. Only change left: Removal of stunnel and
libdb4.2-dev build dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" $Id: curl_getenv.3,v 1.3 2004/04/30 08:38:08 bagder Exp $
 
1
.\" $Id: curl_getenv.3,v 1.4 2006-03-17 08:22:50 bagder Exp $
2
2
.\"
3
3
.TH curl_getenv 3 "30 April 2004" "libcurl 7.12" "libcurl Manual"
4
4
.SH NAME
18
18
curlx_getenv().
19
19
.SH RETURN VALUE
20
20
If successful, curl_getenv() returns a pointer to the value of the specified
21
 
environment. The memory it refers to is malloc()ed why the application must
22
 
free() this when the data has completed to serve its purpose. When
23
 
.I curl_getenv(3)
24
 
fails to find the specified name, it returns a null pointer.
 
21
environment. The memory it refers to is malloc()ed so the application must
 
22
free() this when the data is no longer needed. When \fIcurl_getenv(3)\fP fails
 
23
to find the specified name, it returns a null pointer.
25
24
.SH NOTE
26
25
Under unix operating systems, there isn't any point in returning an allocated
27
26
memory, although other systems won't work properly if this isn't done. The