| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Reply-To: | <jwillemsen AT remedy DOT nl> |
| From: | "Johnny Willemsen" <jwillemsen AT remedy DOT nl> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | Anyone knows of problems with strcspn |
| Date: | Fri, 23 May 2003 15:33:00 +0200 |
| Organization: | Remedy IT Expertise BV |
| Message-ID: | <004301c3212f$d4ce1140$6401a8c0@ritedvnlpt> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |