Does AST sfio/stdio fopen() support the 'e' flag, too?

Irek

---------- Forwarded message ----------
From: Alan Coopersmith <[email protected]>
Date: Sat, Mar 30, 2013 at 10:20 PM
Subject: Re: [developer] O_CLOEXEC in sys/fcntl.h
To: [email protected]
Cc: Theo Schlossnagle <[email protected]>


On 03/30/13 12:57 PM, Theo Schlossnagle wrote:
> Since there is no mechanism (that I know of) to make socket() return a
> close-on-exec FD, it all seems to be hopeless.

GNU libc implemented a SOCK_CLOEXEC flag for that, as well as an "e" flag
to fopen() for stdio users - all the additions were described in:
http://udrepper.livejournal.com/20407.html

--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc


-------------------------------------------
illumos-developer
Archives: https://www.listbox.com/member/archive/182179/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182179/21175106-197fca96
Modify Your Subscription:
https://www.listbox.com/member/?member_id=21175106&id_secret=21175106-3d886b59
Powered by Listbox: http://www.listbox.com


-- 
Irek
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to