Date: Mon, 31 Jan 2000 14:26:03 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Ertan Kucukoglu <ertank@ozlerplastik.com> Cc: freebsd-questions@freebsd.org Subject: Re: Process ID Message-ID: <20000131142603.A15990@strontium.scientia.demon.co.uk> In-Reply-To: <389547CD.DD4243A0@ozlerplastik.com> References: <389547CD.DD4243A0@ozlerplastik.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ertan Kucukoglu wrote: > I wonder what is the max PID number under FreeBSD. I don't know if the > version is required but, I'm using FreeBSD 3.3 RELEASE. 99998. ben@magnesium:~$ grep PID_MAX /sys/sys/* /sys/sys/proc.h: * We use process IDs <= PID_MAX; PID_MAX + 1 must also fit in a pid_t, /sys/sys/proc.h:#define PID_MAX 99999 The comment isn't quite true -- the pids are < PID_MAX, not <= PID_MAX (unless I'm reading the code in kern_fork.c wrong). -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000131142603.A15990>