Home | History | Annotate | Line # | Download | only in sys
      1 /*	$NetBSD: compat_sigpending13.S,v 1.3 2011/01/16 02:45:48 matt Exp $	*/
      2 
      3 #include "SYS.h"
      4 
      5 #if defined(LIBC_SCCS)
      6 __RCSID("$NetBSD: compat_sigpending13.S,v 1.3 2011/01/16 02:45:48 matt Exp $")
      7 #endif
      8 
      9 WARN_REFERENCES(sigpending, \
     10     "warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
     11 
     12 ENTRY(sigpending)
     13 	mr	%r5,%r3				# save pointer
     14 	_DOSYSCALL(compat_13_sigpending13) 	# sigpending()
     15 	bso	1f
     16 	stw	%r3,0(%r5)			# store return value
     17 	li	%r3,0				# and return 0
     18 	blr
     19 1:
     20 	b	_C_LABEL(__cerror)
     21 END(sigpending)
     22