> > I'm developing a database application that uses the inserting processes > pid. Problem is that I'm wondering how big this pid should be?
/* * This controls the default maximum pid allocated to a process */ #define PID_MAX_DEFAULT 0x8000 /* * A maximum of 4 million PIDs should be enough for a while: */ #define PID_MAX_LIMIT (4*1024*1024) so u32 is what you want to be safe.. Dave. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
