about summary refs log tree commit diff
path: root/src/process/posix_spawnattr_getpgroup.c
blob: 2c72e9851ad0cacc058d04ed963af4952c8d448f (plain) (blame)
1
2
3
4
5
6
7
#include <spawn.h>

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