Added missing stuff
authorceriel <none@none>
Thu, 7 Oct 1993 09:46:14 +0000 (09:46 +0000)
committerceriel <none@none>
Thu, 7 Oct 1993 09:46:14 +0000 (09:46 +0000)
lang/cem/libcc/mon/LIST
lang/cem/libcc/mon/_execve.e [new file with mode: 0644]
lang/cem/libcc/mon/_stty.c [new file with mode: 0644]
lang/cem/libcc/mon/_times.e [new file with mode: 0644]

index f7cf6d7..1821380 100644 (file)
@@ -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 (file)
index 0000000..023a5b8
--- /dev/null
@@ -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 (file)
index 0000000..0acb3fc
--- /dev/null
@@ -0,0 +1,6 @@
+/* $Header$ */
+#include <sgtty.h>
+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 (file)
index 0000000..a94fa4f
--- /dev/null
@@ -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