programming - C - function strtokWhat links here?
defined in string.h

Sequentially truncate string if delimiter is found.

If string is not NULL, the function scans string for the first occurrence of any character included in delimiters. If it is found, the function overwrites the delimiter in string by a null-character and returns a pointer to the token, i.e. the part of the scanned string previous to the delimiter.

After a first call to strtok, the function may be called with NULL as string parameter, and it will follow by where the last call to strtok found a delimiter.

delimiters may vary from a call to another.

Parameters.



Return Value.

A pointer to the last token found in string. NULL is returned when there are no more tokens to be found.
programming - C - function strtok
programming - C - function ftell
programming information - floating point formats
microprocessors - microchip 16F84A - data memory
MC6802 - instruction set - Load stack pointer
programming - target - DOS
programming:c:CLOCKS_PER_SEC
programming - target - windows
filename:programming - C - function strtok
filename:programming%20%2D%20C%20%2D%20function%20strtok
last edit:March 29 2009 21:16:24 (5927 days ago)
ct = 1750534947.000000 = June 21 2025 15:42:27
ft = 1238375784.000000 = March 29 2009 21:16:24
dt = 512159163.000000