Anyone knows of problems with strcspn

Johnny Willemsen jwillemsen@remedy.nl
Fri May 23 13:55:00 GMT 2003


Hi,
I am porting an app to Cygwin. I now get strange errors. The code is as
below, with all other compilers this works, but with Cygwin I have to
substract 1 from len, because, when I copy then the string from the buffer
from the given place I get a strange character when printing the string. 
Johnny
Len = strcspn (buffer, delimiter)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /