Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libc / compat / arch / powerpc / sys / compat_sigpending13.S
blob7b55b544d36721460d766c8df2643b365ec366c8
1 /*      $NetBSD: sigpending.S,v 1.8 2002/07/30 06:08:01 matt Exp $      */
3 #include "SYS.h"
5 WARN_REFERENCES(sigpending, \
6     "warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
8 ENTRY(sigpending)
9         mr      %r5,%r3                 # save pointer
10         li      %r0,SYS_compat_13_sigpending13
11         sc                              # sigpending()
12         bso     1f
13         stw     %r3,0(%r5)              # store return value
14         li      %r3,0                   # and return 0
15         blr
17         b       PIC_PLT(_C_LABEL(__cerror))