Open System Services Programmer's Guide

pax utility, example with popen() function, 209
PC cross compiler, 52
pclose() function, 198
Performance analyzer, 51
Performance considerations
file system functions, 86
fork() function , 138
interprocess communication , 195
process creation, 119, 138
process management , 138
tdm_fork() function , 138
tdm_spawn() function , 138
tdm_spawnp() function , 138
workload distribution, 138
Permissions, OSS
corresponding Guardian security, 63
FUP INFO display, 57
permission bits, 30
perror() function, 243
Persistent process, 125
PIC see Position-independent code (PIC)
Pipe, 174, 175, 176
pipe() function, 96, 198, 255
Piping Guardian output, 44
pname utility, 56
Pointer modifiers
64-bit and 32-bit, 299
Pool functions, 165
popen() function, 198
example with lp utility, 226
example with pax utility, 209
Portability of threads, 327, 406
Position-independent code (PIC), 47
POSIX standards, 27, 28
POSIX Threads see Threads
Pragmas
SYSTYPE GUARDIAN, 42
SYSTYPE OSS, 42
Printers
/G directory inaccessibility, 231
control codes, 231
sending OSS files directly to, 231
Printing, 227
example, lp utility with popen() function, 226
OSS utilities only, 207
Priority
Guardian process attribute, 114
process execution, 114
Private resources, 313, 383
Privilege attribute, for files, 272
see also PRIVSETID file privilege
see also PRIVSOARFOPEN file privilege
Privileged switch ID operation, 273
PRIVSETID file privilege, 273
privileged switch ID operations, 273
PRIVSOARFOPEN file privilege, 273
Procedure, Guardian
condition code
and return value, 38, 42
OSS example, 40
return value
and condition code, 38, 42
OSS example, 38
use in OSS programs, 38
Process attributes, 113
setting, 121
Process environment
modifying, 135, 138
obtaining information about, 129
OSS, 36
Process file name, 33
Process group, 33
Process handle, 33
OSS process, 113, 115
Process ID, OSS, 113
Process identifiers, 33
Process management
OSS HP extension functions, 113
performance improvement, 138
Process name, 33
setting, 121
Process pairs, 36
Process priority, modification by OSS process, 113
Process resources, 328, 428
Process-blocking calls, from threads, 329, 430
Process-blocking I/O function, 340, 396
PROCESS_ACTIVATE_ procedure, 156
example, 123
PROCESS_CREATE_ procedure
example, 123
PROCESS_DEBUG_ procedure, 156
PROCESS_GETINFO_ procedure , 131, 156, 167, 172
example, 131
PROCESS_GETINFOLIST_ procedure , 126, 131, 156,
167, 172
example, 133
PROCESS_GETPAIRINFO_ procedure, 156
PROCESS_SETINFO_ procedure , 114, 138, 156
example, 136
PROCESS_SETSTRINGINFO_ procedure, 156
example, 136
PROCESS_SPAWN_ procedure, 125, 156, 247
example, 126
used with audited file, 255
PROCESS_STOP_ procedure, 157
example, 123
PROCESS_SUSPEND_ procedure, 157
example, 123
Processes, 33
controlling
See Controlling processes, 119
creating
See Creating processes, 119
Guardian see Processes, Guardian
See Guardian processes, 113
identification, 33
modifying environment, 135
obtaining information about
589