17.05.2015 Views

TMS34010 C Compiler - Al Kossow's Bitsavers

TMS34010 C Compiler - Al Kossow's Bitsavers

TMS34010 C Compiler - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

strcspn<br />

Find Number of Unmatching Characters<br />

Syntax<br />

Defined in<br />

Description<br />

#include<br />

<br />

size-t strcspn(sl, s2}<br />

char *sl, *s2;<br />

strcspn. c in rts. src<br />

The strcspn function returns the length of the initial segment of sl which<br />

is entirely made up of characters that are not in s2. If the first character in<br />

sl is in s2, the function returns O.<br />

6-70

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!