[libc-commits] [libc] [libc][signal] clean up usage of sighandler_t (PR #125745)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue Feb 4 14:38:09 PST 2025


nickdesaulniers wrote:

> shouldn't __sighandler_t come from the uapi header,

Did you mean `__signalfn_t`? It looks like asm-generic/signal-defs.h depends on `__sighandler_t`, but they themselves do not define that typedef. (unless something is really wrong with my grep-fu).

> and only if you're using the uapi headers?

We're inconsistent about our use of uapi headers.  I would like to try to use them more, but I suspect most libcs have run into issues with the uapi headers.  Probably a longer conversation to have there...

https://github.com/llvm/llvm-project/pull/125745


More information about the libc-commits mailing list