Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)
Semaphores, 89
accessing resources with, 94
binary, 151
Guardian, 151
OSS, 151
shared memory, 93
single processor, 93
XPG4 counting, 93
Sequential processing, multithreading, 87
Server processes
and client communication, 104
demon, 104
dynamic, 104
Guardian, starting LISTNER process, 106
inetd, 105
listener, 105
LISTNER, 105, 154
OSS, PROCESS_SPAWN_ procedure, 106
starting, 104
static, 104
World Wide Web, 104
SERVICES file, LISTNER process, 105
set_defaults_from_env() function, 135
set_env_from_defaults() function, 135
setacl command, 69, 134
setjmp.h header file, 27
setlocale_from_msg() function, 135
SETLOOPTIMER procedure, 145
SETMODE procedure, 80
setpgid() function, 76
SETTRAP procedure, 177
setuid() function, 76
Shared memory, 89
interoperating with OSS programs, 150
multithreading, 87
parent and child processes, 93
process-creation functions, 93
restrictions, 150
semaphores, 93
Shared run-time library (SRL)
building your own, 41
change for TNS/R native environment, 137
common between native environments, 74
Inspect, 45
multiple, 172
private, 173
public, 172
restrictions, TNS, 41
swap files, 95
TNS, 41
TNS/R native, 41, 172
user libraries, 172
using your own, 174
Shells
accessing from TACL shell, 66
aliases, 56
Bourne, 162
C, 162
command interpreter, 25, 28, 54, 65
editing modes, 56
functions, 56
Korn, 162
login, 55
manipulating files with, 68
OSS see shell under OSS
running from TACL, 65
running TACL programs, 66
set utility, 55
startup procedure, 55
switching from TACL to OSS, 66
TACL, accessing from OSS shell, 66
UNIX, 54
variables, 55
sigaction() function, signals, 172
SIGACTION_INIT_ procedure, 177
SIGACTION_SUPPLANT_ procedure, 177
SIGCHLD signals, 77
SIGIO signal, 178
Signal mask
changes for native mode, 176
signal.h header file, 27
Signals, 93, 172
Guardian processes, 80, 151
handling, versus trap handling, 172
interoperability, 80
kill utility, 59
kill() function, 128
POSIX.1 standard, 80
pTAL language, 80
related functions, 172
SIGCHLD, terminating processes, 97
TNS , 151
TNS processes, 80
TNS/E native, 151
TNS/E native processes, 80
TNS/R native, 151
TNS/R native processes, 80
SIGURG signal, 178
Small files, 190
underlying Guardian file format, 79
Snapshot files, debugging, 46
SOA group see SECURITY-OSS-ADMINISTRATOR
socket() function, 126
socket_transport_name_get() function, 126, 127
socket_transport_name_set() function, 126
Sockets
AF_INET, 90
AF_INET6, 90
AF_UNIX Release 1, 90, 126
AF_UNIX Release 2, 90, 127
compatibility mode, 127
portability mode, 127
default transport-provider name, 127
Guardian, 90, 106
listener servers, 105
TLI/XTI, 88
interface to TCP/IP, 178
libraries, 181
247