MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 5 213
Command Definitions (FCONTROL - FLOCK)
FLABELINFO
38 REC Terminated HFS-syntax system absolute pathname:
Upon input, the first four bytes are interpreted as a 32-bit unsigned integer
specifying the maximum available buffer size in bytes. This maximum available
buffer size does not include the four bytes used to represent this size. Upon
output, the first four bytes represent the pathname length excluding the null
terminator as a 32-bit unsigned integer. The pathname is returned in bytes
following the pathname length. Bytes beyond the pathname terminator are
undefined. If the maximum available buffer size is incorrect upon input,
variables allocated near the buffer can be overwritten or a bounds violation
could occur. A zero pathname length is returned for unnamed new files and
when an error occurs. Zero is the minimum buffer length upon input for this
itemnum
.
Format of the buffer on input:
byte #1 #2 #3 #4 | #1 ... #N
+----+----+----+----+----+ ... +----+
| maximum | |
| length = N | |
+----+----+----+----+----+ ... +----+
Format of the buffer on output:
byte #1 #2 #3 #4 | #1 ... #L ... #N
+----+----+----+----+----+ ... +----+ ...
+----+
| length = | / | | \0 | | |
|(L-1) || || ||
+----+----+----+----+----+ ... +----+ ...
+----+
39 U32 The current number of hard links to the file
40 I32 Time of last file access (clock format):
The bit assignments are:
bits 0-7 = hours
bits 8-15 = minutes
bits 16-23 = seconds
bits 24-31 = tenths of seconds
Table 5-6. FLABELINFO Itemnum/Item Values
Item
num
Mnem
onic
Item Description