Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)

Table 24 Thread Functions Not Supported in the Standard POSIX Threads Library (continued)
ReasonFunction
For systems running G-series RVUs, H-series RVUs earler
than H06.21, or J-series RVUs earlier than J06.10, C
library function not supported in OSS environment.
putchar_unlocked()
For systems running G-series RVUs, H-series RVUs earler
than H06.21, or J-series RVUs earlier than J06.10, C
library function not supported in OSS environment.
rand_r()
C library function not supported because of possible
portability issues.
readdir()
For systems running G-series RVUs, H-series RVUs earler
than H06.21, or J-series RVUs earlier than J06.10, C
library function not supported in OSS environment.
strtok_r()
C library function differs only in usage.tmpname()
For systems running G-series RVUs, H-series RVUs earler
than H06.21, or J-series RVUs earlier than J06.10, C
library function not supported in OSS environment.
ttyname()
Table 25 lists the old and new syntax of the optional functions that are supported by Standard
POSIX Threads. The _np suffix indicates that the function is not portable.
Table 25 Optional Thread Functions Supported in Standard POSIX Threads
Syntax of Standard POSIX Threads FunctionSyntax of Draft 4 Function
int pthread_attr_getguardsize_np(
const pthread_attr_t *attr,
size_t *guardsize);
unsigned long
pthread_attr_getguardsize_np(
pthread_attr_t attr);
int pthread_attr_setguardsize_np(
pthread_attr_t attr,
size_t guardsize);
unsigned long
pthread_attr_setguardsize_np(
pthread_attr_t attr,
long guardsize);
int pthread_lock_global_np (void);void pthread_lock_global_np();
int pthread_unlock_global_np (void);void pthread_unlock_global_np();
T1248 POSIX threads, released with G06.21 RVU, made obsolete APIs with the prefix cma_,
such as cma_accept. Some replacement APIs released with T1248 have the prefix spt_; such
as, spt_accept. Others use standard names for the replacement I/O functions; for example, the
function bind() replaces cma_bind(). Table 26 lists the obsolete and replacement APIs supported
in T1248 POSIX threads, G06.21 RVU. Each of the replacment APIs is documented in its appropriate
reference page.
Table 26 Obsolete and Replacement APIs in T1248 POSIX Threads
Replacment APIObsolete API
spt_accept()cma_accept()
spt_connect()cma_connect()
spt_fclose()cma_fclose()
spt_fflush()cma_fflush()
spt_fgetc()cma_fgetc()
spt_fgets()cma_fgets()
214 Standard POSIX Thread Functions: Differences Between the Draft 4 and IEEE 1003.1c 1995 Standards