"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/cloexec.h" between
le-1.16.5.tar.gz and le-1.16.6.tar.gz

About: le is a terminal text editor (many block operations with stream and rectangular blocks, tunable syntax highlighting, etc.).

cloexec.h  (le-1.16.5):cloexec.h  (le-1.16.6)
/* cloexec.c - set or clear the close-on-exec descriptor flag /* cloexec.c - set or clear the close-on-exec descriptor flag
Copyright (C) 2004, 2009-2017 Free Software Foundation, Inc. Copyright (C) 2004, 2009-2019 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or the Free Software Foundation; either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
#include <stdbool.h> #include <stdbool.h>
/* 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. 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 Note that on MingW, this function does NOT protect DESC from being
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)