summaryrefslogtreecommitdiff
path: root/src/process/posix_spawnattr_setflags.c
AgeCommit message (Collapse)AuthorLines
2017-04-22have posix_spawnattr_setflags check for supported flagsRich Felker-0/+11
per POSIX, EINVAL is not a mandatory error, only an optional one. but reporting unsupported flags allows an application to fallback gracefully when a requested feature is not supported. this is not helpful now, but it may be in the future if additional flags are added. had this checking been present before, applications would have been able to check for the newly-added POSIX_SPAWN_SETSID feature (added in commit bb439bb17108b67f3df9c9af824d3a607b5b059d) at runtime.
2011-05-28initial implementation of posix_spawnRich Felker-0/+7
file actions are not yet implemented, but everything else should be mostly complete and roughly correct.