(setfdtablesize): Remove. This may drop support for Sequent.

(getfdtablesize) [hpux]: Client and server had different versions.
Standardize on server's.
This commit is contained in:
Markus Armbruster 2003-12-17 21:14:00 +00:00
parent 1a3a8d993a
commit 5f3b32fd36
3 changed files with 9 additions and 51 deletions

View file

@ -32,26 +32,10 @@
*/
#if !defined(_WIN32)
#include <unistd.h> /* getdtablesize */
#include <unistd.h>
#endif
#include "gen.h"
/*ARGSUSED*/
void
setfdtablesize(int min, int start)
{
#ifdef sequent
extern int errno;
while (start >= min) {
if (setdtablesize(start) > 0)
break;
start -= 16;
}
errno = 0;
#endif
}
int
getfdtablesize(void)
{