1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:08:12 +00:00

LibC: Add POSIX_SPAWN_SETSIGMASK

This isn't in posix yet, but it is implemented on some platforms
and it will be in a future version:
https://www.austingroupbugs.net/view.php?id=1044

It seems useful, so add it.
This commit is contained in:
Nico Weber 2020-06-19 16:28:43 -04:00 committed by Andreas Kling
parent 39d1a43c45
commit 2ddca326be
2 changed files with 11 additions and 1 deletions

View file

@ -50,8 +50,12 @@ enum {
POSIX_SPAWN_SETSIGDEF = 1 << 4,
POSIX_SPAWN_SETSIGMASK = 1 << 5,
POSIX_SPAWN_SETSID = 1 << 6,
};
#define POSIX_SPAWN_SETSID POSIX_SPAWN_SETSID
struct posix_spawn_file_actions_state;
typedef struct {
struct posix_spawn_file_actions_state* state;