SCCS-vsn: lib/libc/tahoe/sys/cerror.s 5.1
SCCS-vsn: lib/libc/tahoe/sys/chdir.s 5.1
--- /dev/null
+/*
+ * 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
--- /dev/null
+/*
+ * 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