Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.wizards Subject: Re: Passing 0 to accept(2) as second and third argument. Message-ID: <11107@smoke.BRL.MIL> Date: 18 Sep 89 12:14:09 GMT References: <7936@cbmvax.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <7936@cbmvax.UUCP> ag@cbmvax.UUCP (Keith Gabryelski) writes: > while (accept(s, 0, 0) < 0) { >BTW, passing a null pointer as the second or third argument to >accept() is not documented under any of the accept man pages I've read And in any case, those aren't null pointers, they're 0-valued integers. On some systems this does matter.