|
|
| "be consistent" | |
| PerlMonks |
Re^3: open(): Is there a simple way to map between numeric open modes and "symbol modes"?by BrowserUk (Pope) |
| on Feb 08, 2013 at 03:24 UTC ( #1017751=note: print w/ replies, xml ) | Need Help?? |
|
how do I un-OR OR results, against the other flags, to get back to these basic constants? (From MSVC header files:
So, assuming the variable $mode contains the OR'd values; you can check which bits are set something like:
But note: not all of the bits that can be set when opening a file are retained in FILE*->_flag. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||