11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

strtok then searches from there <strong>for</strong> a character that is contained in the current separatorstring. If no such character is found, the current token extends to the end of the stringpointed to by s1, and subsequent searches <strong>for</strong> a token will return a null pointer. If sucha character is found, it is overwritten by a null character, which terminates the currenttoken. strtok saves a pointer to the following character, from which the next search <strong>for</strong>a token will start.Each subsequent call, with a null pointer as the value of the first argument, startssearching from the saved pointer and behaves as described above.Portabilitystrtok con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).318 Chapter 28 Standard C Library Reference

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

Saved successfully!

Ooh no, something went wrong!