
105
Chapter 2 Applications Programming
Table 2-4.
HIF Service Call Parameters (Concluded)
(continued)
Parameter
Description
filename
A pointer to a NULL-terminated ASCII string that contains the directory path of a tem-
porary filename.
The file descriptor which is a small integer number. File descriptors 0, 1, and 2 are
guaranteed to exist and correspond to open files on program entry (0 refers to the
UNIX equivalent of
stdin
and is opened for input; 1 refers to the UNIX
stdout
, and is
opened for output; 2 refers to the UNIX
stderr
, and is opened for output).
A pointer to the address of a spill or fill handler passed to the
setvec
service.
The version of the current HIF implementation returned by the
query
service.
The input/output status returned by the
iostat
service.
The interrupt mask value passed to and returned by the
setim
service.
The memory environment returned by the
query
service.
A series of option flags whose values represent the operation to be performed. Used
in the
open, ioctl,
and
wait
services to specify the operating mode.
Milliseconds returned by the
clock
service.
A pointer to a NULL-terminated ASCII string that contains an environment variable
name.
The number of data bytes requested to be read from or written to a file, or the number
of bytes to allocate or deallocate from the heap.
A pointer to a NULL-terminated ASCII string that contains the directory path of a new
filename.
The address of the new user signal handler passed to the
signal
service.
The number of bytes from a specified position (orig) in a file, passed to the
lseek
ser-
vice.
A pointer to NULL-terminated ASCII string that contains the directory path of the old
filename.
The address of the previous user signal handler returned by the
signal
service.
A value of 0, 1, or 2 that refers to the beginning, the current position, or the position of
the end of a file.
The memory page size in bytes returned by the
getpsize
service.
A pointer to a NULL-terminated ASCII string that contains the directory path of a file-
name.
The UNIX file access permission codes passed to the
open
service.
The return value that indicates success or failure.
The seconds count returned by the
time
service.
A signal number passed to the
sendsig
service.
The trap address returned by the
setvec
and
settrap
services. A trap address
passed to and returned by the
settrap
service.
The trap number passed to the
setvec
and
settrap
services.
The current position in a specified file returned by the
lseek
service.
The time zone minutes correction value returned by the
gettz
service.
fileno
funaddr
hifvers
iostat
mask
memenv
mode
msecs
name
nbytes
newfile
newsig
offset
oldfile
oldsig
orig
pagesize
pathname
pflag
retval
secs
sig
trapaddr
trapno
where
zonecode