Subject: getdtablesize() syscall can be replaced with sysconf(_SC_OPEN_MAX)...
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: J.T. Conklin <jconklin@netcom.com>
List: netbsd-bugs
Date: 06/13/1994 07:52:44
Since many other syscalls have been replaced with user functions that
call more generalized syscalls, it may be worth considering replacing
getdtablesize() with
#include <unistd.h>
int
getdtablesize()
{
return sysconf(_SC_OPEN_MAX);
}
------------------------------------------------------------------------------