home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include "sysentry.h"
- #include "nels.h"
-
- extern FILE *outfp;
-
- static sysentry posix_systab[] =
- {
- { "syscall", 0, "", '\0', (int (*)())0, },
- };
-
- sysentry *
- posix_systab_entry(n)
- int n;
- {
- if (n >= 0 && n < nels(posix_systab))
- return &posix_systab[n];
-
- return (sysentry *)0;
- }
-
- int
- posix_print_open_flags(arg)
- long arg;
- {
- vcouldnot("print posix open flags 0x%x", arg);
- return -1;
- }
-
- int
- posix_print_stat(arg)
- long arg;
- {
- vcouldnot("print posix stat structure at address 0x%x", arg);
- return -1;
- }
-
- int
- posix_print_ioctl_cmd(cmd)
- unsigned long cmd;
- {
- char *cname;
-
- switch (cmd)
- {
- default:
- cname = (char *)0;
- break;
- }
-
- if (cname == (char *)0)
- fprintf(outfp, "0x%x", cmd);
- else
- fprintf(outfp, "%s", cname);
-
- return 0;
- }
-
- int
- posix_print_ioctl_arg(args)
- unsigned long *args;
- {
- switch (args[1])
- {
- default:
- fprintf(outfp, "0x%x", args[2]);
- break;
- }
-
- return 0;
- }
-
- int
- posix_print_fdset(nfds, arg)
- int nfds;
- unsigned long arg;
- {
- fprintf(outfp, "0x%x", arg);
-
- return 0;
- }
-
- int
- posix_print_whence(arg)
- unsigned long arg;
- {
- fprintf(outfp, "0x%x", arg);
-
- return 0;
- }
-
- int
- posix_print_statfs(arg)
- unsigned long arg;
- {
- fprintf(outfp, "0x%x", arg);
-
- return 0;
- }
-
- void
- posix_print_sigcontext(outfp, p)
- FILE *outfp;
- unsigned long p;
- {
- fprintf(outfp, "0x%x");
- }
-