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>
29 #include <afs/afs_args.h>
31 #include "AFS_component_version_number.c"
43 printf("use: vsys <call number> <parms>\n");
48 for (i = 1; i < argc; i++) {
49 if (numberFlag && argv[i][0] == '-') {
50 if (strcmp(argv[i], "-s") == 0)
53 printf("bad switch %s\n", argv[i]);
56 } else if (numberFlag) {
57 parms[counter++] = atoi(argv[i]);
60 parms[counter++] = (afs_int32) argv[i];
65 syscall(AFS_SYSCALL, parms[0], parms[1], parms[2], parms[3], parms[4],
67 printf("code %d\n", code);