Messages in this thread | | | Date | Mon, 28 Apr 2008 11:43:11 +0200 | From | "Michael Kerrisk" <> | Subject | Re: [PATCH] dup2 w/flags |
| |
On 4/28/08, Ulrich Drepper <drepper@redhat.com> wrote: > This patch adds dup3 which is dup2 with an additional parameter. The > parameter takes the usual O_* flags, with only O_CLOEXEC handled so far > (it's possible to handle O_NONBLOCK in future, if this is wanted). > > I've read some people mentioning that we simply should use a new fcntl() > extension similar to F_DUPFD_CLOEXEC. I think that's a terrible idea > and in any case not better than sys_indirect. A new syscall is the > cleanest solution and it's really only a little bit of effort.
Ulrich,
To repeat my earlier request, and as requested in Documentation/HOWTO, could you please CC me on API changes. This alerts me to what may eventually need documenting in man-pages.
Cheers,
Michael
| |