Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: open(): Is there a simple way to map between numeric open modes and "symbol modes"?

by Anonymous Monk
on Feb 08, 2013 at 02:35 UTC ( #1017747=note: print w/replies, xml ) Need Help??


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.
  • Comment on Re^2: open(): Is there a simple way to map between numeric open modes and "symbol modes"?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017747]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2016-12-11 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.