Open System Services System Calls Reference Manual (G06.28+, H06.05+)

spt_generateTag(2) OSS System Calls Reference Manual
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 specication. 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 le spthread.h is an HP exception to the POSIX standard.
7180 Hewlett-Packard Company 527186-007