summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/signal.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-2/+2
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Use sigaction() instead of signal() to avoid pulling in unnecessaryguenther2015-10-251-2/+1
| | | | | | | wrappers. To keep uses from crawling back in, mark signal() as deprecated inside libc. ok deraadt@
* Merge the sigaction() and sigprocmask() overloads/wrappers from libpthreadguenther2015-10-231-2/+2
| | | | | | | | | into libc, and move pthread_sigmask() as well (just a trivial wrapper). This provides consistent handling of SIGTHR between single- and multi-threaded programs and is a step in the merge of all the libpthread overloads, providing some ASM and Makefile bits that the other wrappers will need. ok deraadt@ millert@
* Hide __sigintr and __strsignal as internal implementation details.guenther2015-09-091-4/+4
| | | | | | Delete the already hidden _signal alias too. ok deraadt@ millert@
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@millert2004-05-031-4/+5
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* fix prototypesderaadt1998-06-261-1/+2
|
* zero sigaction before usederaadt1998-06-031-1/+2
|
* Fix RCS idstholo1996-08-191-7/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+66