SYSstrtok

Top  Previous  Next

Sign chain after sign separate.

This routine functions like the C routine strtok, only with the difference that with this routine several calls may be interlaced, in contrast to strtok. The sign chain contains any text which is split after the signs from limits. Besides, the sign chain is destroyed in ptr from the front. Therefore, it is to be put on sensibly a copy of the sign chain, if it should be further used afterwards.

Parametre

ptr (char **) [IN]

This sign chain is divided after the signs which seem in limits. Besides, this sign chain is extinguished from the front beginning, so that it makes sense to tangle a copy of this sign chain before.

limits (char *) [IN]

limits contain the signs after which the sign chain ptr should be divided.

multilimits (char *) [IN]

In multilimits the signs can be given which should be jumped over with the other division if they have already seemed. If ZERO can also have the value.

Result

(char *) [OUT]

Here the part of the sign chain zurückgeliefert which exists up to the appearance of a sign from limits becomes but a ZERO.

Declaration

#include "basic.h"

 

char * DLLENTRY SYSstrtok (

char ** ptr,

char * limits,

char * multilimits

);