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:14 UTC||Need Help??|
As I remember, I "discovered" them by writing a small C program that open files in each of the modes and then queried the numeric value using this code (from Fmode.xs):
And I discovered that incantation by finding the struct FILE definition in the C header files.
NOTE: This was done using MSVC header files; YMMV on other platforms.
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.