diff options
Diffstat (limited to 'sysdeps/unix/sysv/sysv4/setsid.c')
-rw-r--r-- | sysdeps/unix/sysv/sysv4/setsid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/sysv4/setsid.c b/sysdeps/unix/sysv/sysv4/setsid.c index 37998bfe03..638ab73889 100644 --- a/sysdeps/unix/sysv/sysv4/setsid.c +++ b/sysdeps/unix/sysv/sysv4/setsid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -19,12 +19,12 @@ #include <errno.h> #include <unistd.h> -extern int __pgrpsys __P ((int type, ...)); +extern pid_t __pgrpsys __P ((int type, ...)); /* Create a new session with the calling process as its leader. The process group IDs of the session and the calling process are set to the process ID of the calling process, which is returned. */ -int +pid_t __setsid () { return __pgrpsys (3); |