diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-03 09:28:17 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-03 09:28:17 +0000 |
commit | e3f2ac8a0f5f7ed3e362bf0c18950b932d9239a0 (patch) | |
tree | e16d56476dc2f3a037219d9c3b7a2aacf0ed80fa /lib/lstat.h | |
parent | 067253007bda8914cffc5a97d3e08ea4056264b1 (diff) | |
download | coreutils-e3f2ac8a0f5f7ed3e362bf0c18950b932d9239a0.tar.xz |
New file, from gnulib.
Diffstat (limited to 'lib/lstat.h')
-rw-r--r-- | lib/lstat.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/lstat.h b/lib/lstat.h new file mode 100644 index 000000000..6a83fbf8f --- /dev/null +++ b/lib/lstat.h @@ -0,0 +1,24 @@ +/* Retrieving information about files. + Copyright (C) 2005 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 + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include <sys/stat.h> + +#if !LSTAT_FOLLOWS_SLASHED_SYMLINK +extern int rpl_lstat (const char *name, struct stat *buf); +# undef lstat +# define lstat rpl_lstat +#endif |