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

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_escape.3

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-29 15:04:24 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20060629150424-be178abcwks1n519
Tags: upstream-7.15.4
ImportĀ upstreamĀ versionĀ 7.15.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" You can view this file with:
2
2
.\" nroff -man [file]
3
 
.\" $Id: curl_escape.3,v 1.6 2005/10/04 10:58:14 bagder Exp $
 
3
.\" $Id: curl_escape.3,v 1.7 2006-04-07 21:50:47 bagder Exp $
4
4
.\"
5
5
.TH curl_escape 3 "6 March 2002" "libcurl 7.9" "libcurl Manual"
6
6
.SH NAME
11
11
.BI "char *curl_escape( char *" url ", int "length " );"
12
12
.ad
13
13
.SH DESCRIPTION
 
14
Obsolete function. Use \fIcurl_easy_escape(3)\fP instead!
 
15
 
14
16
This function will convert the given input string to an URL encoded string and
15
17
return that as a new allocated string. All input characters that are not a-z,
16
18
A-Z or 0-9 will be converted to their "URL escaped" version (%NN where NN is a
20
22
input 'url' string to find out the size.
21
23
 
22
24
You must curl_free() the returned string when you're done with it.
 
25
.SH AVAILABILITY
 
26
Since 7.15.4, \fIcurl_easy_escape(3)\fP should be used. This function will
 
27
be removed in a future release.
23
28
.SH RETURN VALUE
24
29
A pointer to a zero terminated string or NULL if it failed.
25
30
.SH "SEE ALSO"