30 lines
1.2 KiB
C
30 lines
1.2 KiB
C
#include <stdio.h>
|
|
#include <sys/errno.h>
|
|
#include <sys/fcntl.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/time.h>
|
|
#include <sys/times.h>
|
|
#include <sys/types.h>
|
|
|
|
void _exit();
|
|
int close(int file) { return ENOSYS; }
|
|
char **environ; /* pointer to array of char * strings that define the current
|
|
environment variables */
|
|
int execve(char *name, char **argv, char **env) { return ENOSYS; }
|
|
int fork() { return ENOSYS; }
|
|
int fstat(int file, struct stat *st) { return ENOSYS; }
|
|
int getpid() { return ENOSYS; }
|
|
int isatty(int file) { return ENOSYS; }
|
|
int kill(int pid, int sig) { return ENOSYS; }
|
|
int link(char *old, char *new_l) { return ENOSYS; }
|
|
int lseek(int file, int ptr, int dir) { return ENOSYS; }
|
|
int open(const char *name, int flags, ...) { return ENOSYS; }
|
|
int read(int file, char *ptr, int len) { return ENOSYS; }
|
|
caddr_t sbrk(int incr) { return 0; }
|
|
int stat(const char *file, struct stat *st) { return ENOSYS; }
|
|
clock_t times(struct tms *buf) { return ENOSYS; }
|
|
int unlink(char *name) { return ENOSYS; }
|
|
int wait(int *status) { return ENOSYS; }
|
|
int write(int file, char *ptr, int len) { return ENOSYS; }
|
|
int gettimeofday(struct timeval *p, struct timezone *z) { return ENOSYS; }
|