Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (s and S) spt_generateTag(2)
NAME
spt_generateTag - Increments and returns a static long tag
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsptsrl
H-series OSS processes: /G/system/zdllnnn/zsptdll
SYNOPSIS
#include <spthread.h>
long spt_generateTag(void);
PARAMETERS
None.
DESCRIPTION
Increments and returns a static long string appropriate for use as a tag. Note that this long string
will eventually wrap, thereby returning tags that may still be in use. For example, if a process
calls spt_generateTag() 100 times per second, every second, the wrap will occur on the 248th
day.
RETURN VALUES
This funciton returns a long tag.
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specification. Interfaces documented on this
reference page conform to the following industry standards:
• IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header file spthread.h is an HP exception to the POSIX standard.
527186-003 Hewlett-Packard Company 7−103