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

OSS Library Calls (a - d) ctermid(3)
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to dene. The following
features are affected in the HP implementation:
If the s parameter is a null pointer, the string is stored in an internal static area and the
address is returned. The next call to the ctermid() function overwrites the contents of
the internal static area.
The following are HP extensions to the XPG4 Version 2 specication:
The error values [ENOMEM] and [ENOTOSS] can be returned.
527187-007 Hewlett-Packard Company 165