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>
23 #include <afs/afs_args.h>
25 #include "AFS_component_version_number.c"
37 printf("use: vsys <call number> <parms>\n");
42 for (i = 1; i < argc; i++) {
43 if (numberFlag && argv[i][0] == '-') {
44 if (strcmp(argv[i], "-s") == 0)
47 printf("bad switch %s\n", argv[i]);
50 } else if (numberFlag) {
51 parms[counter++] = atoi(argv[i]);
54 parms[counter++] = (afs_int32) argv[i];
59 syscall(AFS_SYSCALL, parms[0], parms[1], parms[2], parms[3], parms[4],
61 printf("code %d\n", code);