Open System Services System Calls Reference Manual (G06.25+, H06.03+)
Files spthread.h(4)
int spt_sigaction(
int, const struct sigaction *,
struct sigaction * );
unsigned int spt_sleep(
unsigned int );
int spt_usleep( unsigned int );
int spt_pause();
int spt_sigpending( sigset_t * );
int spt_sigsuspend( const sigset_t * );
int spt_sigwait( sigset_t *, int * );
Thread-Aware Function Definitions
If invoking a thread-aware function using the corresponding native UNIX function,
first define
SPT_THREAD_AWARE. For example, after defining SPT_THREAD_AWARE, the function
printf will resolve to the nonblocking function spt_printf.
The following are the nonstandard POSIX, HP-implemented thread-aware function definitions:
int spt_accept(
int socket, struct sockaddr *address,
size_t *address_len );
int spt_close( int filedes );
int spt_connect(
int socket, const struct sockaddr *address,
size_t address_len );
int spt_fclose( FILE *stream );
int spt_fflush( FILE *stream );
int spt_fgetc( FILE *stream );
char *spt_fgets( char *string, int n, FILE *stream );
int spt_fgetwc( FILE *stream );
int spt_fprintf( FILE *stream, const char *format, ... );
int spt_fputc( int c, FILE *stream );
int spt_fputs( const char *string, FILE *stream );
wint_t spt_fputwc( wint_t c, FILE *stream );
ssize_t spt_fread(
void *pointer, size_t size,
size_t num_items, FILE *stream );
ssize_t spt_fwrite(
const void *pointer, size_t size,
size_t num_items, FILE *stream );
int spt_getc( FILE *stream );
int spt_getchar( void );
527186-003 Hewlett-Packard Company 11−31