summaryrefslogtreecommitdiff
path: root/include/signal.h
Commit message (Collapse)AuthorAgeFilesLines
* - Define sigwait, sigtimedwait, and sigwaitinfo in terms ofJeff Roberson2003-03-311-1/+1
| | | | | | | | | kern_sigtimedwait() which is capable of supporting all of their semantics. - These should be POSIX compliant but more careful review is needed before we announce this. Notes: svn path=/head/; revision=112893
* Fixed style bug near $FreeBSD$. VCS ids in copyrights should not beBruce Evans2002-10-161-1/+0
| | | | | | | separated by a blank line. Notes: svn path=/head/; revision=105208
* o Move forward declaration for struct timespec to a more appropriateMike Barcroft2002-10-141-2/+14
| | | | | | | | | | | | | | location. o Don't prototype functions for which we don't have an implementation. o Add forward declaration for struct __ucontext, previously this was forward declared in <sys/signal.h>. o Add a comment about the size of NSIG. PR: 35924 Submitted by: bde Notes: svn path=/head/; revision=105107
* Assume POSIX/XSI is always visible in the __BSD_VISIBLE case. Fix aMike Barcroft2002-10-131-5/+8
| | | | | | | mix-up with siginterrupt(). Notes: svn path=/head/; revision=105013
* Add restrict type-qualifier.Mike Barcroft2002-10-121-2/+1
| | | | Notes: svn path=/head/; revision=104989
* o Use relatively new visibility primitives from <sys/cdefs.h>.Mike Barcroft2002-10-061-16/+25
| | | | | | | | | o Add typedef for pid_t. o Add comment about missing restrict type-qualifier. o Remove unneeded includes (<sys/_posix.h> and <sys/time.h>). Notes: svn path=/head/; revision=104582
* Add the 'restrict' type qualifier to the prototypes of `sigaction',Robert Drehmel2002-10-021-6/+7
| | | | | | | | | `sigprocmask', `sigaltstack', and `sigwait' as well as to the prototypes of the apparantly unimplemented functions `sigtimedwait' and `sigwaitinfo'. This complies with IEEE Std 1003.1-2001. Notes: svn path=/head/; revision=104368
* o Merge <machine/ansi.h> and <machine/types.h> into a new headerMike Barcroft2002-08-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien Notes: svn path=/head/; revision=102227
* Breath deep and take __P out of the system include files.Warner Losh2002-03-231-25/+25
| | | | | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure. Notes: svn path=/head/; revision=93032
* Oops, forgot to commit this (s/ucontext_t/struct __ucontext/).Daniel Eischen2002-02-171-1/+1
| | | | Notes: svn path=/head/; revision=90780
* Remove the inline versions of sigaddset, sigdelset, sigemptyset,Marcel Moolenaar1999-10-021-53/+0
| | | | | | | | | sigfillset and sigismember. Submitted by: bde Notes: svn path=/head/; revision=51871
* sigset_t change (part 5 of 5)Marcel Moolenaar1999-09-291-8/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround. Notes: svn path=/head/; revision=51794
* Add a strsignal(3) (like strerror(3)) for libc compatability with otherPeter Wemm1999-05-181-0/+1
| | | | | | | systems. NetBSD, Linux, SVR4 etc all have it. Notes: svn path=/head/; revision=47289
* Add the prototype for sigwait().John Birrell1998-08-251-0/+1
| | | | Notes: svn path=/head/; revision=38538
* Move the include of <machine/ansi.h> to before <sys/signal.h>.Doug Rabson1998-08-051-1/+1
| | | | Notes: svn path=/head/; revision=38119
* nuke signanosleep().Peter Wemm1998-05-141-5/+0
| | | | Notes: svn path=/head/; revision=36036
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B andPeter Dufault1998-03-281-8/+2
| | | | | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing. Notes: svn path=/head/; revision=34925
* Put sigevent and AIO_LISTIO_MAX back in aio.h soPeter Dufault1998-03-081-17/+0
| | | | | | | that kernels can be built. Notes: svn path=/head/; revision=34327
* Reviewed by: bdePeter Dufault1998-03-081-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | Changes to support building with _POSIX_SOURCE set to 199309L: 1. Add sys/_posix.h to handle those preprocessor defs that POSIX says have effects when defined before including any header files; 2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE 3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now defined in POSIX. These show up when: _POSIX_SOURCE and _POSIX_C_SOURCE are not set or _POSIX_C_SOURCE is set >= 199309L and vanish when: _POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L. 4. Explain these in man 9 posix4; 5. Include _posix.h and conditionalize on new feature test. Notes: svn path=/head/; revision=34319
* Reviewed by: msmith, bde long agoPeter Dufault1998-03-041-0/+5
| | | | | | | | POSIX.4 headers and sysctl variables. Nothing should change unless POSIX4 is defined or _POSIX_VERSION is set to 199309. Notes: svn path=/head/; revision=34030
* Added missing declaration of signanosleep().Bruce Evans1998-01-161-0/+5
| | | | Notes: svn path=/head/; revision=32557
* Added missing prototype for sigaltstack()Sujal Patel1996-06-281-0/+1
| | | | Notes: svn path=/head/; revision=16810
* Fix standards conformance bugs in <signal.h>:Bruce Evans1995-06-281-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | include/signal.h: There was massive namespace pollution from including <sys/types.h>. POSIX functions were declared even when _ANSI_SOURCE is defined. sys.sys/signal.h: NSIG was declared even if _ANSI_SOURCE or _POSIX_SOURCE is defined. sig_atomic_t wasn't declared if _POSIX_SOURCE is defined. Declare a typedef for signal handling functions and use it to unobfuscate declarations and to avoid half-baked function types that cause unwanted compiler warnings at certain warning levels. Fix confusing comment about SA_RESTART. sys/i386/include/signal.h: This has to be included to get the declaration of sig_atomic_t even when _ANSI_SOURCE is defined, so be more careful about polluting the ANSI namespace. Uniformize idempotency ifdefs. Notes: svn path=/head/; revision=9343
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+82
Notes: svn path=/head/; revision=1539