summaryrefslogtreecommitdiffstats
path: root/src/xspawn.h
Commit message (Collapse)AuthorAgeFilesLines
* build: Move feature test macros to prelude.hTavian Barnes2024-08-281-2/+0
| | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented.
* prelude: Split bfs-specific utilities into new bfs.h headerTavian Barnes2024-08-281-0/+1
|
* bfstd: New sysoption() macro to check for POSIX option runtime supportTavian Barnes2024-08-091-2/+8
| | | | | | | | | | POSIX allows optional features to be supported at compile time but not necessarily at run time by defining _POSIX_OPTION to 0 and requiring users to check sysconf(_SC_OPTION) > 0. The new sysoption() macro simplifies the check. sighook() and bfs_spawn() now check for conditional runtime support for the relevant POSIX options.
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
|
* xspawn: Implement bfs_spawn_addopen()Tavian Barnes2024-03-271-0/+8
|
* xspawn: Detect posix_spawn() supportTavian Barnes2023-11-191-1/+7
|
* xspawn: API tweaksTavian Barnes2023-11-151-17/+16
|
* xspawn: Wrap the real posix_spawn() if possibleTavian Barnes2023-11-061-2/+13
| | | | Fixes #47.
* list: Use macros instead of type-erased listsTavian Barnes2023-03-311-2/+2
|
* xspawn: Use list.h for the action listTavian Barnes2023-03-291-2/+2
|
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* Source / Include Folder (#88)トトも2022-04-161-0/+123
Moved Source Files Into `src` Folder