xref: /netbsd-src/external/gpl2/xcvs/dist/lib/lstat.h (revision a7c918477dd5f12c1da816ba05caf44eab2d06d6)
1*a7c91847Schristos /* Retrieving information about files.
2*a7c91847Schristos    Copyright (C) 2005 Free Software Foundation, Inc.
3*a7c91847Schristos 
4*a7c91847Schristos    This program is free software; you can redistribute it and/or modify
5*a7c91847Schristos    it under the terms of the GNU General Public License as published by
6*a7c91847Schristos    the Free Software Foundation; either version 2, or (at your option)
7*a7c91847Schristos    any later version.
8*a7c91847Schristos 
9*a7c91847Schristos    This program is distributed in the hope that it will be useful,
10*a7c91847Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
11*a7c91847Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12*a7c91847Schristos    GNU General Public License for more details.
13*a7c91847Schristos 
14*a7c91847Schristos    You should have received a copy of the GNU General Public License
15*a7c91847Schristos    along with this program; if not, write to the Free Software Foundation,
16*a7c91847Schristos    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
17*a7c91847Schristos 
18*a7c91847Schristos #include <sys/stat.h>
19*a7c91847Schristos 
20*a7c91847Schristos #if !LSTAT_FOLLOWS_SLASHED_SYMLINK
21*a7c91847Schristos extern int rpl_lstat (const char *name, struct stat *buf);
22*a7c91847Schristos # undef lstat
23*a7c91847Schristos # define lstat rpl_lstat
24*a7c91847Schristos #endif
25