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

structure, error information, 131
P
Parallel processing, static server, 105
Parameters
command line, 56
guidelines, 116
OSS
pe_parms, 97
pr_results, 97
portability checking, 50
STATUS command, 62
PARAMs, Guardian environment variables, 57
Parent process
creating pipes, 91
exit() function, 128
open files, 131
OSS functions, 128
PROCESS_SPAWN_ procedure, 98, 106
PATH variable, C shell, 55
PATHNAME_TO_FILENAME_ procedure, 77
Pathnames
conversion, OSS to Guardian, 64
mapping, 129
OSS, limits, 112
resolving, 92, 100
Pathway Terminal Control Process (TCP), 44
pax utility, 81
capabilities, 37
Guardian files, 70
pe_heap_max attribute, 97, 176
pe_mainstack_max attribute, 97, 176
pe_parms attribute, 97
pe_space_guarantee attribute, 95, 97, 176
Performance
AF_UNIX sockets, 90
caching, 101, 102
creating pipes, 92
demon server, 104
design trade-offs, 102, 109
directory operations, 101
opening files, 102
opening pipes, 92
process-creation functions, 96
resources, 101
semaphores, 94
static server, 104
system costs, 102
World Wide Web server, 104
PIN, Guardian, 62
Pipe buffer, creating pipes, 91
Pipe character (|), 67, 91
Pipe server, OSS see OSS pipe server
pipe() function, 91
Pipes, 89
across processors, 91
creating, 91, 92
lseek() function, 124
pname utility, pathname conversion, 64
Pointers, guidelines, 116
popen() function, 151
printer I/O , 82
Portability
checking, standards compliance for, 48
extensions, 25
isolating code for, 96
levels of, 95, 108
of code, 28
scope, 108
using standard functions, 109
Portability of threads, 188
Portable application template, 23
PORTCONF configuration file, 154
LISTNER process, 105
Porting
analysis, 108
from Guardian to OSS, 181
in stages, architecture, 110
NonStop DCE threads, 186
threaded applications, 186
tools
benefits of, 48
CodeCheck, 49, 109
findcalls, 49, 109
lint, 48, 108
OSPC, 50, 109
Ports, TCP connection requests, 105
Position-independent code (PIC)
programs and libraries, 174
POSIX Threads see Threads
POSIX threads, 186
POSIX.1 standard, 24, 29, 112, 162
POSIX.2 standard, 25, 29, 162
pr_results parameter, error information, 97
Pragmas
changes for native mode, 174
compiler, header file, 119
new, 156
obsolete, 174
symbol definitions, 118
using, 141
Preprocessor symbols, 119, 141, 157
Print queue, 60, 72
Printcap file, aliases, 60
Printer I/O, Guardian spooler procedures, 82
Printing
canceling files from queue, 60
from TACL, 64
Guardian commands, 60
Guardian SPOOLCOM, 121
lp utility, 121
OSS commands, 60
status of, 60
text files, 64
PRIVSETID file privilege, 115, 122
PRIVSOARFOPEN file privilege, 115, 123, 124
Procedures, Guardian see procedures under Guardian
Process creation
244 Index