1/* 2 * The main module for truss. Suprisingly simple, but, then, the other 3 * files handle the bulk of the work. And, of course, the kernel has to 4 * do a lot of the work :). 5 */ 6/* |
7 * $Id: main.c,v 1.1 1997/12/06 05:23:03 sef Exp $ |
8 */ 9 10#include <stdio.h> 11#include <stdlib.h> 12#include <string.h> 13#include <errno.h> 14#include <err.h> 15#include <signal.h> 16#include <fcntl.h> |
17#include <unistd.h> |
18#include <sys/ioctl.h> 19#include <sys/pioctl.h> 20 21extern int setup_and_wait(char **); 22extern int start_tracing(int, int); 23extern void i386_syscall_entry(int, int); 24extern void i386_syscall_exit(int, int); 25extern void i386_linux_syscall_entry(int, int); --- 177 unchanged lines hidden --- |