[SunHELP] Solaris 7 and FOPEN_MAX
Jarrett Carver
sunhelp at sunhelp.org
Fri Jan 4 18:14:24 CST 2002
Ahh.. makes sense. Thanks.
>
>Correct. This is because file descriptor member of the FILE
>structure used with fopen is an unsigned char (see stdio_impl.h),
>which can hold 0-255. I think only Solaris and IRIX have this
>problem. Sun refused to fix it, perhaps for purposes of backward
>compatibility. It sure it a PITA for developers though.
>
> > d. API limits (ref:Solaris Internals)
> > 2. Solaris >= 7
> > a. stdio(3s) - 256 (32-bit) / 65536 (64-bit)
> > b. select(3c) - 1024 (32-bit) / 65536 (64-bit)
> > 1. 65536 limit is attainable on 32-bit Solaris 7
> > 2. #define FD_SETSIZE 65536 ; prior to includes
>
>I believe the question is whether the nice folks who develop
>Remedy compiled it with the preprocessor symbols ("defines")
>required to get the 64-bit FILE structure. If they didn't,
>I don't believe even a 128-bit kernel will do you much good.
>
>Regards,
>
>Nicholas Dronen
>_______________________________________________
>SunHELP maillist - SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
Jarrett Carver http://www.geocities.com/solarboyz1
solarboyz1 at hotmail.com Unix/NT Systems Administrator
___________________________________________________________
"When people sigh 'Life is hard', I am always tempted to
ask 'compared to what?'".
- Sydney Harris
____________________________________________________________
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
More information about the SunHELP
mailing list