svn commit: r206649 - head/lib/libc/sys

Konstantin Belousov kib at FreeBSD.org
Thu Apr 15 08:32:50 UTC 2010


Author: kib
Date: Thu Apr 15 08:32:50 2010
New Revision: 206649
URL: http://svn.freebsd.org/changeset/base/206649

Log:
  Still reference struct __sigaction with clarification when this form
  of argument declaration is needed.
  
  Discussed with:	bde
  MFC after:	3 days

Modified:
  head/lib/libc/sys/sigaction.2

Modified: head/lib/libc/sys/sigaction.2
==============================================================================
--- head/lib/libc/sys/sigaction.2	Thu Apr 15 08:29:14 2010	(r206648)
+++ head/lib/libc/sys/sigaction.2	Thu Apr 15 08:32:50 2010	(r206649)
@@ -496,6 +496,16 @@ or
 .Dv SIG_IGN
 this way.
 .Pp
+If preprocessing symbol
+.Va _POSIX_C_SOURCE
+with the value >= 199309 is not defined, the following declaration for
+the handler shall be used:
+.Bl -tag -offset indent -width short
+.It Tn POSIX Dv SA_SIGINFO :
+.Ft void
+.Fn handler int "struct __sigaction *" "void *" ;
+.El
+.Pp
 If the
 .Dv SA_SIGINFO
 flag is not set, the handler function should match


More information about the svn-src-all mailing list