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
12 #include <sys/types.h>
17 #include "AFS_component_version_number.c"
26 if (stat("/vicepa", &status) == -1) {
31 printf("Usage: iread inode offset count\n");
34 count = xiread(status.st_dev, atoi(argv[1]), 17, atoi(argv[2]), buf, atoi(argv[3]));
39 printf("iread(%x) successful, count==%d. Data follows:\n%s\n",status.st_dev, count,buf);