1#include <spawn.h> 2 3int posix_spawnattr_getpgroup(const posix_spawnattr_t* restrict attr, pid_t* restrict pgrp) { 4 *pgrp = attr->__pgrp; 5 return 0; 6} 7