Commit 38295e8a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

slight rewording based on debian bug report #357388 by Justin Pryzby

parent f9612b5e
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -18,10 +18,9 @@ will instead be made "available" by source code access only, and then as
curlx_getenv().
curlx_getenv().
.SH RETURN VALUE
.SH RETURN VALUE
If successful, curl_getenv() returns a pointer to the value of the specified
If successful, curl_getenv() returns a pointer to the value of the specified
environment. The memory it refers to is malloc()ed why the application must
environment. The memory it refers to is malloc()ed so the application must
free() this when the data has completed to serve its purpose. When
free() this when the data is no longer needed. When \fIcurl_getenv(3)\fP fails
.I curl_getenv(3)
to find the specified name, it returns a null pointer.
fails to find the specified name, it returns a null pointer.
.SH NOTE
.SH NOTE
Under unix operating systems, there isn't any point in returning an allocated
Under unix operating systems, there isn't any point in returning an allocated
memory, although other systems won't work properly if this isn't done. The
memory, although other systems won't work properly if this isn't done. The