On Sun, Jul 8, 2012 at 3:28 PM, Mark Volkmann <r.mark.volkm...@gmail.com> wrote:
> On Sun, Jul 8, 2012 at 8:00 AM, Ben Noordhuis <i...@bnoordhuis.nl> wrote:
>> On Sun, Jul 8, 2012 at 12:08 AM, Mark Volkmann
>> <r.mark.volkm...@gmail.com> wrote:
>>> The fs documentation says "Exclusive mode (O_EXCL) ensures that path
>>> is newly created."
>>> Does that make sense for "ax" and "ax+" that append to an existing file?
>>
>> No.
>
> I'm confused then why the modes "ax" and "ax+" exist.

Sorry, I should've been less brief.

The crux is "append to an existing file" - that never happens because
ax and ax+ either create a new file or fail. The new file is opened in
append mode.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to