X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funistd-safer.h;h=190f108624fb43ce0756336e1b60d1b1e3290b2c;hb=497bb5fc57d14e07115482157ed318d078a83083;hp=af7d4ea6b83c8a08dd14b258a6a945217bc6d926;hpb=14449a1dacca44c4f933d5fc207c7fa56e6c0fb7;p=gnulib.git diff --git a/lib/unistd-safer.h b/lib/unistd-safer.h index af7d4ea6b..190f10862 100644 --- a/lib/unistd-safer.h +++ b/lib/unistd-safer.h @@ -1,6 +1,6 @@ /* Invoke unistd-like functions, but avoid some glitches. - Copyright (C) 2001, 2003, 2005, 2009 Free Software Foundation, Inc. + Copyright (C) 2001, 2003, 2005, 2009-2010 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,7 +21,11 @@ int dup_safer (int); int fd_safer (int); int pipe_safer (int[2]); -#if GNULIB_CLOEXEC +#if GNULIB_FD_SAFER_FLAG int dup_safer_flag (int, int); int fd_safer_flag (int, int); #endif + +#if GNULIB_PIPE2_SAFER +int pipe2_safer (int[2], int); +#endif