in reply to Re: open(): Is there a simple way to map between numeric open modes and "symbol modes"?
in thread open(): Is there a simple way to map between numeric open modes and "symbol modes"? (solved)
"Numeric mode value" means the number you'd pass to an open() call, "which is an OR-ing of stuff like O_RDONLY and O_SYNC, constants you can import from POSIX" (for example from FUSE, see).
Question is: how do I un-OR this stuff and get the matching symbol for what the ORed POSIX flags/constants mean.
Question is: how do I un-OR this stuff and get the matching symbol for what the ORed POSIX flags/constants mean.
|
---|
In Section
Seekers of Perl Wisdom