Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
curl_escape(3) | libcurl Manual | curl_escape(3) |
NAME
curl_escape - URL encodes the given stringDESCRIPTION
Obsolete function. Use curl_easy_escape(3) instead!EXAMPLE
char *output = curl_escape("data to convert", 15);
if(output) {
printf("Encoded: %s\n", output);
curl_free(output);
}
AVAILABILITY
Since 7.15.4, curl_easy_escape(3) should be used. This function will be removed in a future release.RETURN VALUE
A pointer to a null-terminated string or NULL if it failed.SEE ALSO
curl_unescape(3), curl_free(3), RFC2396May 17, 2022 | libcurl 7.84.0 |