Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

PUT_READX(2) OSS System Calls Reference Manual
count_read for unstructured reads
After a successful call to PUT_READX() for an unstructured
file, the value returned in count_read is the minimum of
read_count or the EOF pointer minus the next-record pointer.
Pointers after PUT_READX() call
After a successful PUT_READX() call to an unstructured file,
the file pointers are:
Current-record pointer is old next-record pointer.
Next-record pointer is old next-record pointer plus
count_read.
RETURN VALUES
The PUT_READX() function returns 0 (zero) upon successful completion. Otherwise, this
function returns a nonzero Guardian file-system error number that indicates the outcome of the
operation.
For information about Guardian file-system error numbers, see the Guardian Procedure Errors
and Messages Manual.
ERRORS
None. This function does not set the errno variable.
RELATED INFORMATION
Functions: PUT_CANCEL(2), PUT_CONTROL(2), PUT_FILE_CLOSE_(2),
PUT_FILE_OPEN_(2), PUT_LOCKFILE(2), PUT_LOCKREC(2),
PUT_READLOCKX(2), PUT_READUPDATELOCKX(2), PUT_READUPDATEX(2),
PUT_SETMODE(2), PUT_UNLOCKFILE(2), PUT_UNLOCKREC(2),
PUT_WRITEREADX(2), PUT_WRITEUPDATEUNLOCKX(2),
PUT_WRITEUPDATEX(2), PUT_WRITEX(2).
5248 Hewlett-Packard Company 527186-023