Mistake in string.h

Corinna Vinschen cygwin@cygwin.com
Wed Feb 7 13:00:00 GMT 2001


On Wed, Feb 07, 2001 at 01:44:57PM -0500, jluciani@vicr.com wrote:
>        I believe there is an error in the declration of strsep in the 
>      string.h file. I made the changes listed below and was able to use the 
>      function in my program.
>      
>             Old line: char* _strset (char*, int);
>             New line: char* _strsep (char**, const char*); 
>      
>             Old line: char* strset (char*, int);

What string.h file do you have? The string.h provided by Cygwin contains
the following line:

char    *_EXFUN(strsep,(char **, const char *));

and there is neither a _strsep nor a strset or _strset function
declared.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list