summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setpgrp.c
blob: 1a82ac884d0891bed81d203b17196467e0a6c41b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <syscall.h>
#include <unistd.h>


int setpgrp(void)
{
	return setpgid(0,0);
}