Node:Special Process, Next:Special Network, Previous:Special FD, Up:Special Files
gawk also provides special file names that give access to information
about the running
gawk process. Each of these "files" provides
a single record of information. To read them more than once, they must
first be closed with the
(see Closing Input and Output Redirections).
The file names are:
getuidsystem call (the real user ID number).
geteuidsystem call (the effective user ID number).
getgidsystem call (the real group ID number).
getegidsystem call (the effective group ID number).
If there are any additional fields, they are the group IDs returned by
getgroups system call.
(Multiple groups may not be supported on all systems.)
These special file names may be used on the command line as data files,
as well as for I/O redirections within an
They may not be used as source files with the
The special files that provide process-related information are now considered
obsolete and will disappear entirely
in the next release of
gawk prints a warning message every time you use one of
To obtain process-related information, use the
See Built-in Variables That Convey Information.