From fa7069780d8e158097ad81bd99f71da78c6bd641 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 7 Oct 1993 09:46:14 +0000 Subject: [PATCH] Added missing stuff --- lang/cem/libcc/mon/LIST | 3 +++ lang/cem/libcc/mon/_execve.e | 12 ++++++++++++ lang/cem/libcc/mon/_stty.c | 6 ++++++ lang/cem/libcc/mon/_times.e | 10 ++++++++++ 4 files changed, 31 insertions(+) create mode 100644 lang/cem/libcc/mon/_execve.e create mode 100644 lang/cem/libcc/mon/_stty.c create mode 100644 lang/cem/libcc/mon/_times.e diff --git a/lang/cem/libcc/mon/LIST b/lang/cem/libcc/mon/LIST index f7cf6d7dc..1821380b4 100644 --- a/lang/cem/libcc/mon/LIST +++ b/lang/cem/libcc/mon/LIST @@ -68,12 +68,14 @@ _creat.e _dup.e _dup2.e _execl.e +_execve.e _exit.e _fork.e _fstat.e _ftime.e _getpid.e _gtty.c +_stty.c _ioctl.e _kill.e _link.e @@ -83,6 +85,7 @@ _pause.e _pipe.e _read.e _sbrk.e +_times.e _unlink.e _wait.e _write.e diff --git a/lang/cem/libcc/mon/_execve.e b/lang/cem/libcc/mon/_execve.e new file mode 100644 index 000000000..023a5b8ba --- /dev/null +++ b/lang/cem/libcc/mon/_execve.e @@ -0,0 +1,12 @@ +# + mes 2,EM_WSIZE,EM_PSIZE + exp $_execve + pro $_execve,0 + lal 0 + loi 3*EM_PSIZE + loc 59 + mon + ste errno + loc -1 + ret EM_WSIZE + end diff --git a/lang/cem/libcc/mon/_stty.c b/lang/cem/libcc/mon/_stty.c new file mode 100644 index 000000000..0acb3fca3 --- /dev/null +++ b/lang/cem/libcc/mon/_stty.c @@ -0,0 +1,6 @@ +/* $Header$ */ +#include +int +_stty(fildes,argp) int fildes ; struct sgttyb *argp ; { + return _ioctl(fildes,TIOCSETP,argp) ; +} diff --git a/lang/cem/libcc/mon/_times.e b/lang/cem/libcc/mon/_times.e new file mode 100644 index 000000000..a94fa4f45 --- /dev/null +++ b/lang/cem/libcc/mon/_times.e @@ -0,0 +1,10 @@ +# + mes 2,EM_WSIZE,EM_PSIZE + exp $_times + pro $_times,0 + lal 0 + loi EM_PSIZE + loc 43 + mon + ret 0 + end