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