aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-shutdown/broadcast.c
AgeCommit message (Collapse)Author
2024-07-20openrc-shutdown: simplify broadcast functionMike Gilbert
Get rid of the alarm/setjmp/longjmp. Trust that the kernel will not block with O_NDELAY. Use write() instead of stdio. Bug: https://bugs.gentoo.org/923326 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2023-04-19Rename attribute macros to namespaced RC_*Sam James
This conflicts with linux-headers which uses __unused for some padding members on ppc64le at least. Closes: https://github.com/OpenRC/openrc/issues/622
2023-01-29openrc-shutdown: missing includes from IWYUSam James
2023-01-25openrc-shutdown: mark handler as noreturn, use _unused macroSam James
2022-04-06migrate fully to meson build systemWilliam Hubbs
- drop old build system - move shared include and source files to common directory - drop "rc-" prefix from shared include and source files - move executable-specific code to individual directories under src - adjust top-level .gitignore file for new build system This closes #489.