date and time created 86/07/02 16:23:04 by sam
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 3 Jul 1986 07:23:04 +0000 (23:23 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 3 Jul 1986 07:23:04 +0000 (23:23 -0800)
SCCS-vsn: lib/libc/tahoe/sys/cerror.s 5.1
SCCS-vsn: lib/libc/tahoe/sys/chdir.s 5.1

usr/src/lib/libc/tahoe/sys/cerror.s [new file with mode: 0644]
usr/src/lib/libc/tahoe/sys/chdir.s [new file with mode: 0644]

diff --git a/usr/src/lib/libc/tahoe/sys/cerror.s b/usr/src/lib/libc/tahoe/sys/cerror.s
new file mode 100644 (file)
index 0000000..bf13f9c
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifdef SYSLIBC_SCCS
+_sccsid:.asciz "@(#)cerror.s   5.1 (Berkeley) %G%"
+#endif SYSLIBC_SCCS
+
+#include "SYS.h"
+
+       .globl  _errno
+cerror:
+       movl    r0,_errno
+       mnegl   $1,r0
+       ret
diff --git a/usr/src/lib/libc/tahoe/sys/chdir.s b/usr/src/lib/libc/tahoe/sys/chdir.s
new file mode 100644 (file)
index 0000000..6bf40f1
--- /dev/null
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifdef SYSLIBC_SCCS
+_sccsid:.asciz "@(#)chdir.s    5.1 (Berkeley) %G%"
+#endif SYSLIBC_SCCS
+
+#include "SYS.h"
+
+SYSCALL(chdir)
+       ret