New diff with .Pp suggested by jmc (which was ok otherwise - thanks). -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494
Index: accept.2 =================================================================== RCS file: /cvs/src/lib/libc/sys/accept.2,v retrieving revision 1.25 diff -u -p -r1.25 accept.2 --- accept.2 21 Apr 2013 07:44:59 -0000 1.25 +++ accept.2 30 Apr 2013 18:51:46 -0000 @@ -147,7 +147,7 @@ int retcode; retcode = accept(s, (struct sockaddr *)&addr, &len); if (retcode == -1) - err(1, "accept"); + err(1, "accept"); /* Probably too simplistic. */ .Ed .Sh ERRORS .Fn accept @@ -211,3 +211,6 @@ Thus considerable care is required in and .Xr poll 2 loops. +.Pp +.Er ECONNABORTED +is often overlooked and should be handled appropriately.