<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*	$NetBSD: compat_sigpending13.S,v 1.3 2011/01/16 02:45:48 matt Exp $	*/

#include "SYS.h"

#if defined(LIBC_SCCS)
__RCSID("$NetBSD: compat_sigpending13.S,v 1.3 2011/01/16 02:45:48 matt Exp $")
#endif

WARN_REFERENCES(sigpending, \
    "warning: reference to compatibility sigpending(); include &lt;signal.h&gt; for correct reference")

ENTRY(sigpending)
	mr	%r5,%r3				# save pointer
	_DOSYSCALL(compat_13_sigpending13) 	# sigpending()
	bso	1f
	stw	%r3,0(%r5)			# store return value
	li	%r3,0				# and return 0
	blr
1:
	b	_C_LABEL(__cerror)
END(sigpending)
</pre></body></html>