(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:
parent
1a3a8d993a
commit
5f3b32fd36
3 changed files with 9 additions and 51 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue