MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


libcurl Manual                                   curlunescape(3)



NAME
     curlunescape - URL decodes the given string

SYNOPSIS
     #include 

     char *curlunescape( char *url, int length );

DESCRIPTION
     Obsolete function. Use curleasyunescape(3) instead!

     This function will  convert  the  given  URL  encoded  input
     string  to  a  "plain string" and return that as a new allo-
     cated string. All input characters that are URL encoded (%X
     where  X  is  a  two-digit hexadecimal number) will be con-
     verted to their plain text versions.

     If the 'length' argument is set to 0,  curlunescape()  will
     use strlen() on the input 'url' string to find out the size.

     You must curlfree() the returned string  when  you're  done
     with it.

AVAILABILITY
     Since 7.15.4, curleasyunescape(3)  should  be  used.  This
     function will be removed in a future release.

RETURN VALUE
     A pointer to a zero terminated string or NUL if it failed.

SEE ALSO
     curleasyescape(3),  curleasyunescape(3),   curlfree(3),
     RFC 2396

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     
       ATRIBUTE TYPE     ATRIBUTE VALUE
    
     Availability         SUNWcurl       
    
     Interface Stability  Uncommitted    
    

NOTES
     Source for C-URL is available on http:/opensolaris.org.







libcurl 7.7        Last change: 22 March 2001                   1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™