File: stat.c

package info (click to toggle)
dotfile 1%3A2.4-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,472 kB
  • ctags: 523
  • sloc: tcl: 14,072; sh: 918; makefile: 177; lisp: 18; 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);
}