home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!dutrun!donau!liberator.et.tudelft.nl!wolff
- From: wolff@liberator.et.tudelft.nl (Rogier Wolff)
- Subject: Re: max pid
- Message-ID: <1993Jan26.172438.4198@donau.et.tudelft.nl>
- Sender: news@donau.et.tudelft.nl (UseNet News System)
- Nntp-Posting-Host: liberator.et.tudelft.nl
- Organization: Delft University of Technology, Dept. of Electrical Engineering
- References: <1993Jan20.012515.4992@gnusys.GUN.de>
- Date: Tue, 26 Jan 1993 17:24:38 GMT
- Lines: 24
-
- kg@gnusys.GUN.de (Klaus Guhr) writes:
-
- >what is the max pid in Linux 0.99.pl3 ?
-
- Standard Unix is 30000. (not 32768.) Linux uses 65365 or something like
- that. This is bad.
-
- int main ()
- {
- short pid;
-
- pid = fork ();
- if (pid < 0)
- <error>;
- if (pid = 0)
- <child>;
- else
- <parent>;
- }
-
- Roger.
- --
- **** a 486 in V86 mode is like a VW buggy with a 6 litre V12 motor. ****
- EMail: wolff@duteca.et.tudelft.nl ** Tel +31-15-783643 or +31-15-142371
-