F.CHKPERM - accumulate permissions for a catalog block.
Usage:
newperm = f.chkperms( oldperms, mem_addr[, who ] );
Where:
- oldperms
- are the permissions accumulated to this point, produced
by a call to F.GUMC, F.INIT, F.GCAT, or a previous call
to F.CHKPERM. The new permissions are returned by the
function.
- mem_addr
- is the memory address of the sector for which the
permissions must be checked.
- who
- is a pointer to a two-word BCD userid to be used when
checking specific permissions. If this argument is zero
or not provided, it defaults to "&.uid".
- newperms
- are the permissions resulting from the scan of the new
catalog level.
Description:
F.CHKPERM is used to accumulate permissions while walking down
a catalog structure. The permissions are kept in the lower half
of the result, and the upper half contains various information
bits. These bits are described in detail in "expl b syslib f.init".
The sector provided is guaranteed not to be overwritten.
See Also:
expl b syslib f.init
expl b syslib f.gumc
expl b syslib f.gcat
Copyright © 1996, Thinkage Ltd.