On Fri, Oct 15, 2004 at 03:33:57PM +1000, Michael Kraus wrote:
I'm developing a database application that  uses the inserting processes
pid. Problem is that I'm wondering how big this pid should be?

It depends on your platform:

traditional     30000
Linux           32768
FreeBSD         99999
Solaris         tunable up to 999999
Plan9           just uses 32 bits - I can't be bothered booting
                to check if it's signed or not

(You might care to +/- 1 on the values above, as some may be
inclusive, and some exclusive.)

Given that this is mostly a Linux list, you know which number to use,
and why things will break if you move your stuff elsewhere.  :-)

--
Christopher Vance
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to