death to trailing whitespace
[openafs.git] / src / venus / gcpags.c
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  *
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
8  */
9
10 #include <afsconfig.h>
11 #include <afs/param.h>
12
13
14 #include <rx/xdr.h>
15 #include <sys/ioctl.h>
16 #include <sys/socket.h>
17 #include <netdb.h>
18 #include <errno.h>
19 #include <stdio.h>
20 #include <netinet/in.h>
21 #include <sys/stat.h>
22 #include <afs/stds.h>
23 #include <afs/vice.h>
24 #include <afs/venus.h>
25 #ifdef  AFS_AIX32_ENV
26 #include <signal.h>
27 #endif
28 #undef VIRTUE
29 #undef VICE
30 #include "afs/prs_fs.h"
31 #include <afs/afsint.h>
32 #include <afs/cellconfig.h>
33 #include <afs/cmd.h>
34 #include <strings.h>
35
36
37
38
39 #include "AFS_component_version_number.c"
40
41 main(argc, argv)
42      int argc;
43      char **argv;
44 {
45     afs_int32 code = 0;
46     struct ViceIoctl blob;
47
48     blob.in = 0;
49     blob.out = 0;
50     blob.in_size = 0;
51     blob.out_size = 0;
52     code = pioctl(0, VIOC_GCPAGS, &blob, 1);
53     if (code)
54         perror("disable gcpags failed");
55
56     exit(code);
57 }