Xref: utzoo comp.unix.wizards:14447 comp.unix.xenix:4730 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!ateng!chip From: chip@ateng.ateng.com (Chip Salzenberg) Newsgroups: comp.unix.wizards,comp.unix.xenix Subject: Re: pid rollover? Message-ID: <1989Jan31.164710.19502@ateng.ateng.com> Date: 31 Jan 89 21:47:09 GMT References: <460@oglvee.UUCP> Organization: A T Engineering, Tampa, FL Lines: 12 According to jr@oglvee.UUCP (Jim Rosenberg): >Our system is an Altos 2000 running Xenix System V. The CPU is a 386, and >the C compiler produces 4 as sizeof(int). However we seem to be hitting >rollover of pids at 32K, implying that the kernel must be using short as the >type of a pid -- at least internally. The getpid() system call has to work for '286 binaries under Xenix/386. So all pids must be representable as a 16-bit integers. -- Chip Salzenberg or A T Engineering Me? Speak for my company? Surely you jest! "It's no good. They're tapping the lines."