Subject: Re: What should I do about getpgrp?

From: Guy Maor <[email-masked]>
Date: Wed, 19 Jun 1996 09:56:28 -0500 (CDT)

On 19 Jun 1996 [email-masked] wrote:

> I'm working on a package that makes extensive use of getpgrp(pid), but
> the getpgrp() that comes in libc5 doesn't take an argument (which is
> not fun if you're managing a number of process groups from a number
> of distinct sessions).

The fifth item in /proc/pid/stat is the pgrp.  You could easily write a
getpgrp() which makes use of that.  See fs/proc/array.c getstat() for
more details.

Guy

---

From: [email-masked]
Date: 19 Jun 1996 14:07:59 -0000

Unfortunately, I can't get libc5's source right now because ftp.debian.org
is unavailable, and debian.crosslink.net doesn't mirror the source.

Harumph... I don't know the right way here, and I'm impatient.  I suppose
the right thing to do is file a bug report against libc5, but I was hoping
to go further than that.  [This is a case where there are so many standards
I doubt this is really a "bug".]

Anyone have any ideas?

-- 
Raul

---

From: [email-masked] (David Engel)
Date: Wed, 19 Jun 1996 10:15:59 -0500 (CDT)

> not fun if you're managing a number of process groups from a number

The manpage indicates that getpgid is what you want.

> is unavailable, and debian.crosslink.net doesn't mirror the source.

Not mirroring the source makes it awfully easy for them to violate the
GPL.

David
-- 
David Engel                        Optical Data Systems, Inc.
[email-masked]                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081

---

From: [email-masked]
Date: Wed, 19 Jun 1996 17:52:24 +0000 (GMT)

> is unavailable, and debian.crosslink.net doesn't mirror the source. 

This wasn't intentional -- I was mirroring sun10.sep.bnl.gov, which
stopped carrying source due to lack of space.  I'm moving over to taking
it from master directly, and then will carry the full archive (i.e.,
everything except WebPages and Incoming).
-- 
Shields, CrossLink.