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 <afsconfig.h>
11 #include <afs/param.h>
14 #include <sys/types.h>
19 #include "AFS_component_version_number.c"
28 if (stat("/vicepa", &status) == -1) {
33 printf("Usage: iread inode offset count\n");
37 xiread(status.st_dev, atoi(argv[1]), 17, atoi(argv[2]), buf,
43 printf("iread(%x) successful, count==%d. Data follows:\n%s\n",
44 status.st_dev, count, buf);