2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #include <afs/param.h>
11 #include <afsconfig.h>
15 #include <sys/types.h>
20 #include "AFS_component_version_number.c"
30 if (stat(argv[1], &status) == -1) {
35 fd = xiopen(status.st_dev, ino, O_RDONLY);
40 if (fstat(fd, &status) == -1) {
44 printf("links=%d, size=%d\n",
45 status.st_nlink, status.st_size);