Hi, The following diff fixes getdtablecount(2) HISTORY: this function appeared in OpenBSD 5.2, not OpenBSD 5.1.
No getdtablecount() here: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/kern/syscalls.master?only_with_tag=OPENBSD_5_1 but it's there: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/kern/syscalls.master?only_with_tag=OPENBSD_5_2 Found while trying to compile slowcgi(8) on OpenBSD 5.1, out of curiousity... Index: getdtablecount.2 =================================================================== RCS file: /cvs/src/lib/libc/sys/getdtablecount.2,v retrieving revision 1.3 diff -u -p -r1.3 getdtablecount.2 --- getdtablecount.2 12 Apr 2012 22:15:21 -0000 1.3 +++ getdtablecount.2 26 Jan 2014 22:01:50 -0000 @@ -35,4 +35,4 @@ open. The .Nm function appeared in -.Ox 5.1 . +.Ox 5.2 .