diff options
Diffstat (limited to 'io/sys/stat.h')
-rw-r--r-- | io/sys/stat.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h index 2c23102d33..5bc497c671 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -1,20 +1,20 @@ /* Copyright (C) 1991, 1992, 1995, 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. + This file is part of the GNU C Library. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ /* * POSIX Standard: 5.6 File Characteristics <sys/stat.h> @@ -127,7 +127,7 @@ extern int fstat __P ((int __fd, struct stat *__buf)); /* Get file attributes about FILE and put them in BUF. If FILE is a symbolic link, do not follow it. */ extern int __lstat __P ((__const char *__file, struct stat *__buf)); -#ifdef __USE_BSD +#if defined(__USE_BSD) || defined(__USE_XOPEN_EXTENDED) extern int lstat __P ((__const char *__file, struct stat *__buf)); #endif @@ -139,7 +139,7 @@ extern int chmod __P ((__const char *__file, __mode_t __mode)); /* Set file access permissions of the file FD is open on to MODE. */ extern int __fchmod __P ((int __fd, __mode_t __mode)); -#ifdef __USE_BSD +#if defined(__USE_BSD) || defined(__USE_XOPEN_EXTENDED) extern int fchmod __P ((int __fd, __mode_t __mode)); #endif @@ -164,7 +164,7 @@ extern int mkdir __P ((__const char *__path, __mode_t __mode)); device numbers with the `makedev' macro above). */ extern int __mknod __P ((__const char *__path, __mode_t __mode, __dev_t __dev)); -#if defined(__USE_MISC) || defined(__USE_BSD) +#if defined(__USE_MISC) || defined(__USE_BSD) || defined(__USE_XOPEN_EXTENDED) extern int mknod __P ((__const char *__path, __mode_t __mode, __dev_t __dev)); #endif |