File: stat.c

package info (click to toggle)
dotfile 2.2-1
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 4,596 kB
  • ctags: 456
  • sloc: tcl: 11,732; sh: 965; makefile: 304; csh: 13; ansic: 7
file content (7 lines) | stat: -rw-r--r-- 156 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#include <sys/stat.h>
int main (int argc, char **argv) {
  struct stat s1,s2;
  stat(argv[1], &s1);
  stat(argv[2], &s2);
  exit(s1.st_ino != s2.st_ino);
}