-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
#include <unistd.h>
+#undef __getpgid
+
extern int kgetpgidx (pid_t pid);
int
{
return kgetpgidx (pid);
}
+INTDEF(__getgpid)
strong_alias (__getpgid, getpgid)
-/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
#include <unistd.h>
#include <sys/types.h>
+#undef __getpgid
+
extern int __pgrpsys __P ((int type, ...));
/* Get the process group ID of process PID. */
{
return __pgrpsys (4, pid);
}
+INTDEF(__getpgid)
-/* Copyright (C) 1993, 1995, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997, 1999, 2002 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
#include <unistd.h>
#include <sys/types.h>
+#undef __getpgid
+
extern pid_t __pgrpsys __P ((int type, ...));
/* Get the process group ID of process PID. */
return __pgrpsys (4, pid);
}
+INTDEF(__getpgid)
weak_alias (__getpgid, getpgid)