Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
curl_escape(3) | Library Functions Manual | curl_escape(3) |
NAME
curl_escape - URL encode a stringDESCRIPTION
Obsolete function. Use curl_easy_escape(3) instead!PROTOCOLS
This functionality affects all supported protocolsEXAMPLE
int main(void)
{
char *output = curl_escape("data to convert", 15);
if(output) {
printf("Encoded: %s\n", output);
curl_free(output);
}
}
HISTORY
Since 7.15.4, curl_easy_escape(3) should be used. This function might be removed in a future release.AVAILABILITY
Added in curl 7.1RETURN VALUE
A pointer to a null-terminated string or NULL if it failed.SEE ALSO
curl_free(3), curl_unescape(3)2024-12-21 | libcurl |