summaryrefslogtreecommitdiff
path: root/src/process/posix_spawnattr_setpgroup.c
blob: f39596a6ec62d2dacc4ae6b6ac1a379940b77519 (plain)
1
2
3
4
5
6
7
#include <spawn.h>

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