Hi, Ping :-) Best Regards, Xiao Yang On 2018/12/21 11:01, Xiao Yang wrote: > According to the lastest glibc, bsd_signal function is just declared > when POSIX.1-2008(or newer) instead of POSIX.1-2001 is not set since > glibc v2.26. > > Please see the following code from signal/signal.h: > ----------------------------------------------------------------- > #if defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K8 > /* The X/Open definition of `signal' conflicts with the BSD version. > So they defined another function `bsd_signal'. */ > extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler) > __THROW; > #endif > ----------------------------------------------------------------- > > Signed-off-by: Xiao Yang <yangx.jy@xxxxxxxxxxxxxx> > --- > man3/bsd_signal.3 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man3/bsd_signal.3 b/man3/bsd_signal.3 > index f04356c..8773253 100644 > --- a/man3/bsd_signal.3 > +++ b/man3/bsd_signal.3 > @@ -43,7 +43,7 @@ Feature Test Macro Requirements for glibc (see > Since glibc 2.26: > _XOPEN_SOURCE >= 500 > .\" || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED > - && ! (_POSIX_C_SOURCE\ >=\ 200112L) > + && ! (_POSIX_C_SOURCE\ >=\ 200809L) > .br > Glibc 2.25 and earlier: > _XOPEN_SOURCE