Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2006 22:33:55 +0200
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD Standards <freebsd-standards@freebsd.org>
Subject:   Re: [Patch] jobs -p
Message-ID:  <20060708203355.GO83179@hoeg.nl>
In-Reply-To: <20060708125628.GN83179@hoeg.nl>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hello,

* Ed Schouten <ed@fxq.nl> wrote:
> I wrote a small patch[2] that adds the -p flag to the jobs utility, by
> limiting the output to one process and running getpgid() on the pid.
> 
> According to various sources, getpgid() returns the process group ID,
> which is also the process group leader. Can anyone confirm this?

After reading some more documentation and kernel source code, I found
the answer to the question. I did some small cleanup fixes and added a
small patch for the manual page as well.

I also filed a problem report; standards/99926:

	http://www.freebsd.org/cgi/query-pr.cgi?pr=99926

Yours,
-- 
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFEsBaz52SDGA2eCwURAnQcAJ48zYF0cEHabqlF8j82w+zcd3KKXgCeNI1k
ktLbOJoX+IC6AJ1BP2GCP/Q=
=eRLi
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060708203355.GO83179>