date and time created 92/02/29 12:55:41 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 1 Mar 1992 04:55:41 +0000 (20:55 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 1 Mar 1992 04:55:41 +0000 (20:55 -0800)
SCCS-vsn: lib/libc/mips/sys/sigpending.s 5.1

usr/src/lib/libc/mips/sys/sigpending.s [new file with mode: 0644]

diff --git a/usr/src/lib/libc/mips/sys/sigpending.s b/usr/src/lib/libc/mips/sys/sigpending.s
new file mode 100644 (file)
index 0000000..f3a2b69
--- /dev/null
@@ -0,0 +1,26 @@
+/*-
+ * Copyright (c) 1991 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Ralph Campbell.
+ *
+ * %sccs.include.redist.c%
+ */
+
+#include "SYS.h"
+
+#if defined(LIBC_SCCS) && !defined(lint)
+       ASMSTR("@(#)sigpending.s        5.1 (Berkeley) %G%")
+#endif /* LIBC_SCCS and not lint */
+
+LEAF(sigpending)
+       li      v0, SYS_sigpending      # setlogin(name)
+       syscall
+       bne     a3, zero, 1f
+       sw      v0, 0(a0)
+       move    v0, zero
+       j       ra
+1:
+       j       _cerror
+END(sigpending)