summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/process/posix_spawnattr_getpgroup.c
blob: 0480527d6fa79a76507357366f38a5de7ce3c420 (plain)
1
2
3
4
5
6
7
#include <spawn.h>

int posix_spawnattr_getpgroup(const posix_spawnattr_t *restrict attr, pid_t *restrict pgrp)
{
	*pgrp = attr->__pgrp;
	return 0;
}