Open System Services Porting Guide (G06.29+, H06.06+, J06.03+)
see also Files
accessing, 78, 112, 114
compared with Guardian, 114
filename conversions, 72
printer I/O, 82
protection bits, 114
security, 114
terminal character, 112
findcalls porting tool, 49, 109
Flags
compiling with, 61
cp utility, 69
ls utility, 66
OSS files, 123
ps utility, 68
fopen() and fopen64() functions, 74, 148
fork() function
compared to UNIX exec(), 97
creating processes, 113
OSS environment, 128
process handle, 128
UNIX environments, 96
fprintf() function, 74, 148
freopen() and freopen64() functions, 74, 148
fscanf() function, 74, 148
fstat() and fstat64() functions, Guardian file system, 127
FTP, 35
ftp utility, 35
Function entry points, defined in header files, 73
Function prototypes
guidelines, 116
ISO/ANSI C rules, 117
recommendations when porting, 117
Functions, 85
see also individual functions by name
accessing information, 113
coexisting with Guardian procedures, 112
compatibility, 108
equivalent, using for portability, 109
error codes, 122
file-related, 122
Guardian
alternate-model, 175
obsolete, 175
with OSS processes, 112
interoperability, 120
listing current, 56
making queries, 113
managing processes, 97
memory allocation, 95
memory deallocation, 95
modifying process environment, 113
nonstandard, 109, 111
obsolete , 175
OSS see functions under OSS
process ID, 97
process-creation, 96, 97, 130, 131
programming guidelines, 110
ranked by portability, 111
reading Guardian files, 112, 114
sending signals, 113
shell, 56
standard, 109, 111
trap handling, 175
UNIX see individual functions by name
used with Guardian files, 112, 122
using, 116
FUP commands
compared to OSS commands, 60
FUP INFO command, 67
FUP SECURE command, 67
G
getacl command, 134
getegid() function, 76
getenv() function, 76
geteuid() function, 76
getgid() functions, 76
getgroups() function, 76
getuid() function, 76
gname utility, filename conversion, 64
GNU C compiler, 167
grep utility
Guardian files, 64, 68
redirected output, 67
Group ownership
changing with chgrp(), 68
Guardian, 68
GROUP_GETINFO_ procedure, 143
GROUPMEMBER_GETNEXT_ procedure, 143
gtacl command see gtacl utility
gtacl utility
as intermediate process, 151
Guardian environment variables, 57
with a command file, 67
with FUP commands, 67
with STATUS command, 67
Guardian
alternate-model, obsolete, 175
and OSS functions, interfaces between, 161
API, 52
attributes, 67, 113, 128
commands see Commands, Guardian
DEFINE commands, 57
DEFINEs see DEFINEs
EDIT files see EDIT files
editors, 60, 63
environment, 29
environment variables, and OSS shell, 57
file system, 68, 112, 124
file types, 63
filenames see Filenames
files see Files, Guardian
header files, 181
interface, compared to OSS interface, 29
nowait I/O, 183
PARAMs, converted into OSS variables, 58, 152
PIN, 62
238 Index