X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnu%2Fcloexec.h;h=ef5bacc2917098e818ad667e191607051569e82d;hb=d30babc23b4f25be970ada2e63a50220a3672281;hp=377ab6c96e5961023448acbd9221a0bf0a45b78c;hpb=1a44d77d50f4fb37c0410eed04b82303624ea2ec;p=debian%2Ftar diff --git a/gnu/cloexec.h b/gnu/cloexec.h index 377ab6c9..ef5bacc2 100644 --- a/gnu/cloexec.h +++ b/gnu/cloexec.h @@ -1,8 +1,6 @@ -/* -*- buffer-read-only: t -*- vi: set ro: */ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* closexec.c - set or clear the close-on-exec descriptor flag - Copyright (C) 2004, 2009-2011 Free Software Foundation, Inc. + Copyright (C) 2004, 2009-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,9 +19,9 @@ #include -/* Set the `FD_CLOEXEC' flag of DESC if VALUE is true, +/* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true, or clear the flag if VALUE is false. - Return 0 on success, or -1 on error with `errno' set. + Return 0 on success, or -1 on error with 'errno' set. Note that on MingW, this function does NOT protect DESC from being inherited into spawned children. Instead, either use dup_cloexec