1 2 3 4 5 6 7
#include <spawn.h> int posix_spawnattr_init(posix_spawnattr_t *attr) { *attr = (posix_spawnattr_t){ 0 }; return 0; }