X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnu%2Fcloexec.c;h=29d1a38aaf835c066667b1fa1f6e79188907a7fa;hb=d30babc23b4f25be970ada2e63a50220a3672281;hp=4fb995e8b180e04ade9e1b649228805b5d301f68;hpb=ee168310ec4227174ace489bf5f81f8c2f91cde0;p=debian%2Ftar diff --git a/gnu/cloexec.c b/gnu/cloexec.c index 4fb995e8..29d1a38a 100644 --- a/gnu/cloexec.c +++ b/gnu/cloexec.c @@ -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) 1991, 2004-2006, 2009-2010 Free Software Foundation, Inc. + Copyright (C) 1991, 2004-2006, 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 @@ -27,9 +25,9 @@ #include #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