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

File conversion
to ASCII, with cp utility, 69
to ASCII, with pax utility, 70
to Guardian, with CTOEDIT, 64
to OSS, with EDITTOC, 64
File management
Guardian
commands, 60, 63
environment, 78
procedures , 77
OSS
catalog, 100
commands, 60
environment, 77
functions, 77
name server, 100
opening a file, 100
performance, 101
performance, 102
File suffixes
in programming, 61
requirement for native C compilers, 40
File system ID, translating, 100
File systems
/G, OSS environment, 63
Guardian, 68, 112, 125
OSS
and EDIT files, 68
defined, 112
management of, 100
File transfer protocol (FTP), 35
File Utility Program (FUP) commands see FUP commands
file utility, deleting files, 69
File-implementation characteristics, 121
FILE_CLOSE_ procedure, 149
FILE_COMPLETE_ procedure, 129
FILE_COMPLETE_GETINFO_ procedure, 130
FILE_COMPLETE_SET_ procedure, 129
FILE_GETINFO_ procedure, 80, 145
FILE_GETINFOBYNAME_ procedure, 80, 145
FILE_GETINFOLIST_ procedure, 80, 145
FILE_GETINFOLISTBYNAME_ procedure, 80, 145
FILE_GETRECEIVEINFO_ procedure, 145
FILE_OPEN_ procedure, 80, 145
error 580, 79
printer I/O , 82
FILE_OPEN_CHKPT_ procedure, 80
FILENAME_FINDNEXT_ procedure, 73
FILENAME_TO_PATHNAME_ procedure, 77
Filenames
beginning with ZYQ, 64
conversion
Guardian to OSS, 64
OSS to Guardian, 101
creation, OSS, 101
format, Guardian and creating OSS files, 101
Guardian, moving with mv utility, 69
mapping procedures, 77, 129
Files
ASCII text, 63, 64, 69
changing protection of, 60, 63
character special, lseek() function, 124
closing, static server, 105
codes, changing, 64
compatibility, 32
conversion see File conversion see File conversion
copying, 60, 63, 69, 70
creating, 69, 101
deleting, 60, 63, 69
descriptor arguments, 131
device, 112
displaying information, 60, 63
EDIT, editing, 63
executable, 61
interoperability, 77
management see File management
moving to Guardian, 63
moving to OSS, 63
object, 61
odd-unstructured, 68
ownership
changing with chown(), 68
Guardian, 68
printcap, 60
printing, 60
PRIVSETID file privilege file attribute, 115, 122
PRIVSOARFOPEN file privilege file attribute, 115, 123,
124
renaming, 60, 63
security, 121, 123
sharing, 150
SQL, rewinddir() function, 125
suffixes see File suffixes
supported by OSS , 112
text, copying, 69
Files, Guardian, 68
see also Files
accessing, 68, 77, 78, 112, 114, 123
archiving, 70
chown() function, 123
compared with OSS, 114
deleting, 70
directory structure, 112
EDIT, 68, 69, 112
filename format , 112
open() function, 125
pax utility, 70
permission, 123
protection bits, 114
reading with OSS functions, 112
relocating, 69
renaming, 69
restoring after conversion, 70
security, 68, 114, 123, 125
special, 112
types, 63, 70, 77, 78
with OSS functions, 112, 122
Files, OSS, 78
237