Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!sdd.hp.com!hplabs!hpda!hpcuhb!hpindda!ash From: ash@hpindda.cup.hp.com (Art Harkin) Newsgroups: comp.sys.hp Subject: Re: The "getdtablesize" command Message-ID: <4310152@hpindda.cup.hp.com> Date: 19 Dec 90 01:45:04 GMT References: <28687@mimsy.umd.edu> Organization: HP Information Networks, Cupertino, CA Lines: 33 Reposted since previous posting cut off the answer... In reply to: > comp.sys.hp / preetham@ra.src.umd.edu / 3:00 pm Dec 17, 1990 / > >I am trying to compile a software package that was unfortunately not written >for SysV although they claim that it is. The computer being used is an HP800 >running HPUX 3.1. One of the problems that I am facing is finding a SysV >equivalent for the command "getdtablesize" which is used (so the SUN man >pages say) to "get the descriptor table size". What can I use instead of >this command since it does not exist on the HPs. >Any help would be appreciated. Thanks in advance. > > Preetham Gopalaswamy > >ps: You may either post the answer or send e-mail to preetham@ra.src.umd.edu > --------------------------------------------------------------------------- Try: #include #ifdef hpux t = FD_SETSIZE; #else /* hpux */ t = getdtablesize(); #endif /* hpux */ Art Harkin Hewlett Packard