setpgrp.c (17141) | setpgrp.c (92986) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#if defined(LIBC_SCCS) && !defined(lint) 35static char sccsid[] = "@(#)setpgrp.c 8.1 (Berkeley) 6/2/93"; 36#endif /* LIBC_SCCS and not lint */ | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#if defined(LIBC_SCCS) && !defined(lint) 35static char sccsid[] = "@(#)setpgrp.c 8.1 (Berkeley) 6/2/93"; 36#endif /* LIBC_SCCS and not lint */ |
37#include <sys/cdefs.h> 38__FBSDID("$FreeBSD: head/lib/libc/compat-43/setpgrp.c 92986 2002-03-22 21:53:29Z obrien $"); |
|
37 38#include <sys/types.h> 39#include <unistd.h> 40 41int 42#if __STDC__ 43setpgrp(pid_t pid, pid_t pgid) 44#else 45setpgrp(pid, pgid) 46 pid_t pid, pgid; 47#endif 48{ 49 return(setpgid(pid, pgid)); 50} | 39 40#include <sys/types.h> 41#include <unistd.h> 42 43int 44#if __STDC__ 45setpgrp(pid_t pid, pid_t pgid) 46#else 47setpgrp(pid, pgid) 48 pid_t pid, pgid; 49#endif 50{ 51 return(setpgid(pid, pgid)); 52} |