/* * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ /* $Header$ */ /* File containing definitions of the UNIX system calls and some other * functions. * Used to fine-tune the -lc library. */ /* LINTLIBRARY */ #include #include #include #include #include #include #include #include int access(s, m) char *s; { return(0); } int acct(s) char *s; { return(0); } int alarm(s) unsigned s; { return(0); } char *brk(a) char *a; { return(a); } char *sbrk(i) { return((char *)0); } int chdir(s) char *s; { return(0); } int chroot(s) char *s; { return(0); } int chmod(s, m) char *s; { return(0); } int chown(s, u, g) char *s; { return(0); } int close(f) { return(0); } int creat(s, m) char *s; { return(0); } int dup(f) { return(0); } int dup2(f1, f2) { return(0); } /*VARARGS2*/ execl(f, a) char *f, *a; { ; } execv(s, a) char *s, *a[]; { ; } /*VARARGS3*/ execle(f, a, s) char *f, *a, *s; { ; } execve(s, a, e) char *s, *a[], *e[]; { ; } _exit(s) { ; } int fork() { return(0); } int getpid() { return(0); } int getuid() { return(0); } int getgid() { return(0); } int geteuid() { return(0); } int getegid() { return(0); } /*VARGARGS2*/ int ioctl(d, r) int d, r; { return(0); } int kill(p, s) { return(0); } int link(a, b) char *a, *b; { return(0); } long lseek(f, o, d) long o; { return(0); } int mknod(n, m, a) char *n; { return(0); } int mount(s, n, f) char *s, *n; { return(0); } int umount(s) char *s; { return(0); } int nice(p) { return(0); } int open(f, m) char *f; { return(0); } pause() { ; } int pipe(f) int f[2]; { return(0); } profil(b, s, o, i) char *b; { ; } int ptrace(r, p, a, d) int *a;{ return(0); } int read(f, b, l) char *b; { return(0); } int setuid(u) { return(0); } int setgid(g) { return(0); } int (*signal(c, f))() int (*f)(); { return(f); } int stat(s, b) char *s; struct stat *b; { return(0); } int fstat(f, b) struct stat *b; { return(0); } int stime(t) time_t *t; { return(0); } sync() { ; } time_t time(t) time_t *t; { return( 0 ); } ftime(t) struct timeb *t; { ; } times(b) struct tbuf *b; { ; } int umask(c) { return(0); } int unlink(s) char *s; { return(0); } int utime(f, t) char *f; time_t t[2]; { return(0); } int wait(s) int *s; { return(0); } int write(f, b, l) char *b; { return(0); } int abort() {/*NOTREACHED*/ } /* Some definitions to prevent some warnings */ /* VARARGS1 */ printf(fmt) char *fmt; { ; } /* VARARGS1 */ fprintf(fp, fmt) FILE *fp; char *fmt; { ; } /* VARARGS2 */ sprintf(s, fmt) char *s; char *fmt; { ; } /* VARARGS1 */ int scanf(fmt) char *fmt; { return(0); } /* VARARGS2 */ int fscanf(fp, fmt) FILE *fp; char *fmt; { return(0); } /* VARARGS2 */ int sscanf(s, fmt) char *s; char *fmt; { return(0); } int _flsbuf(i, fp) unsigned int i; FILE *fp; { return(0); } /* System variables */ char **environ; int errno; char *sys_errlist[];