MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 5 179
Command Definitions (FCONTROL - FLOCK)
FFILEINFO
99 I32 Setuid Flag
This item returns a value indicating whether or not this file has the setuid flag
turned on. When the setuid flag is on for a program file, the program will
execute under the user who owns the file rather than under the user who
invoked the program. A value of 1 indicates that the setuid flag is on; a value of
0 indicates the flag is off.
100 I32 Setgid Flag
This item returns a value indicating whether or not the file has the setgid flag
turned on. When the setgid flag is on for a program file, the program will
execute with the GID membership of the file rather than the GID membership
of the process that invoked the program. A value of 1 indicates that the setgid
flag is on; a value of 0 indicates that the flag is off.
101 I32 Physical record type
This item returns the record type of the file's physical record layout. It is
possible through the HPFOPEN option 77, Read Format option, to emulate a
different record structure than the actual physical record structure of the file.
To get the current logical record view, use FFILEINFO item 90.
The following values will be returned by this item:
0 fixed
1 variable
2 undefined
3 spool block
4 root directory
5 not applicable
6 account directory
7 group directory
8 not applicable
9 byte stream
10 hierarchical directory
102 I32 Dissallow file equation flag
This item returns a value indicating whether or not file equations were
disallowed when the file was opened. A value of zero indicates that file
equations were allowed; a value of 1 indicates file equations were disallowed.
This item is identical to bit 5:1 of the foptions.
Table 5-2. FFILEINFO Itemnum/Item Values
Itemnu
m
Item
Type
Item Description