When I fork() inside a program, the PID of the child is
incremented by two. Very odd. The system has zero activity on
it, and I can repeatedly get the same result. The program works
however, it just seems odd to me that the parent's PID is say
500, and an immediate fork() gives the child a PID of 502. In
looking at other programs running in the system, they appear to
increment by one.
Just an oddity I thought perhaps someone could describe for me...
TTYL
--
Mike A. Harris Linux advocate
Computer Consultant GNU advocate
Capslock Consulting Open Source advocate
If you're interested in computer security, and want to stay on top of the
latest security exploits, and other information, visit:
http://www.securityfocus.com
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list