File: lcc_extras.c

package info (click to toggle)
hypermail 2.2.0.dfsg-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,636 kB
  • ctags: 3,069
  • sloc: ansic: 34,221; sh: 15,510; yacc: 844; perl: 744; makefile: 737; python: 292
file content (14 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 
  stat and fstat are defined in lcc, but not lstat
*/

#include <sys/stat.h>

/*
* The way we're handling this now is to assume that we'll never try this
* on a symlink
*/
int lstat(const char *file_name, struct stat *buf)
{
    return stat(file_name, buf);
}