summaryrefslogtreecommitdiff
path: root/src/signal/psignal.c
AgeCommit message (Collapse)AuthorFilesLines
2018-08-30prevent psignal/psiginfo from clobbering stderr orientation, errnoRich Felker1-3/+20
these functions are specified to write to stderr but not set its orientation, presumably so that they can be used in programs operating stderr in wide mode. also, they are not allowed to clobber errno on success. save and restore to meet the requirement. psiginfo is reduced to a think wrapper around psignal, since it already behaved the same. if we want to add more detailed siginfo printing at some point this will need refactoring.
2011-06-08implement psignal and psiginfoRich Felker1-0/+10