N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

strtok

Format
#include <string.h>
char *strtok (char *string1, const char *string2);


Arguments
  • string1 is a pointer to the character string to be broken up into tokens through a series of calls to this function
  • string2 is a pointer to the delimiting character to use when breaking up string1
Return Value
A pointer to the token removed from string1. If there are no more tokens in string1, the function returns NULL

What This Function Does
Through repeated calls, it breaks up string1 into a sequence of tokens each of which is delimited by the character specified by string2. Calls subsequent to the first specify a NULL character as the first argument.

Note
This standard function comes with NuSystem.


Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998