lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-04-28 11:45    [W:0.043 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site