Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

OSS Library Calls (s) strtok_r(3)
Include the string.h file
To use the Standard POSIX Threads library, you must:
Include the spthread.h file
Link your application to the Standard POSIX Threads library:
/G/system/sysnn/zsptsrl (G-series)
or
/G/system/zdllnnn/zsptdll (H-series or J-series)
Compile your application using the #define_SPT_MODEL_ macro or an equivalent
compiler command option.
For more detailed information about writing multi-threaded or 64-bit applications for the Open |
System Services environment, see the Open System Services Programmers Guide.
RETURN VALUES
Upon successful completion, the strtok_r( ) function returns a pointer to the first byte of the
parsed token in the string. When no token is in the string, a null pointer is returned.
ERRORS
No error values are returned. This function does not set the errno variable.
RELATED INFORMATION
Functions: strcat(3), strtok(3).
STANDARDS CONFORMANCE
Interfaces documented on this reference page conform to the following industry standards:
IEEE Std 1003.1-2004, POSIX System Application Program Interface
The use of the header file spthread.h is an HP exception to the POSIX standard.
527187-017 Hewlett-Packard Company 6183