public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Mistake in string.h
@ 2001-02-07 10:46 jluciani
  2001-02-07 13:00 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: jluciani @ 2001-02-07 10:46 UTC (permalink / raw)
  To: cygwin

       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);
            New line: char* strsep (char**, const char*); 
     
     (* jcl *)

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Mistake in string.h
  2001-02-07 10:46 Mistake in string.h jluciani
@ 2001-02-07 13:00 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2001-02-07 13:00 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-07 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-07 10:46 Mistake in string.h jluciani
2001-02-07 13:00 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).