This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Mistake in string.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]