From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G5vHS-0003IF-Gq for garchives@archives.gentoo.org; Thu, 27 Jul 2006 02:07:18 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6R252Vp014694; Thu, 27 Jul 2006 02:05:02 GMT Received: from mail.netspace.net.au (whirlwind.netspace.net.au [203.10.110.76]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6R22mH2013438 for ; Thu, 27 Jul 2006 02:02:49 GMT Received: from [192.168.2.52] (ppp246-231.static.internode.on.net [203.122.246.231]) by mail.netspace.net.au (Postfix) with ESMTP id 79F65131611 for ; Thu, 27 Jul 2006 12:02:45 +1000 (EST) Subject: [gentoo-user] where does PID wrap around? From: Iain Buchanan To: gentoo-user@lists.gentoo.org Content-Type: text/plain Date: Thu, 27 Jul 2006 11:32:33 +0930 Message-Id: <1153965753.15692.0.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: ff3bb369-fa0b-4bda-9fa9-23f30ae11c4b X-Archives-Hash: d83ba2be69fe857e146f9433c210c027 Hi all, I know that PID's wrap around if they get to a sufficiently large number - anyone know what that number is? 2^16 (65536), or 2^15 (32768)? Is it fixed for a particular system / kernel / universe? or even better, is there a #define I can use from one of the system headers? thanks, -- Iain Buchanan The advertisement is the most truthful part of a newspaper. -- Thomas Jefferson -- gentoo-user@gentoo.org mailing list