tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH 6/6] fdopen() opens successfully more descriptiors than STREAM_MAX



On Fri, Aug 22, 2008 at 11:04:11PM +0300, Andy Shevchenko wrote:
> On Fri, Aug 22, 2008 at 9:30 PM, Joerg Sonnenberger
> <joerg%britannica.bec.de@localhost> wrote:
> >> May be you are true. But I don't see the similar sentence in the SUSv3.
> > Take a look at the description of the constants in limits.h (or
> > stdio.h). Also, apply some common sense: Does it make sense to stop an
> > application after opening 8/20/whatever streams?
> I see. But a limit still exists even in your case. And "whatever" has
> a finite value anyway.

See getrlimit/setrlimit.

Joerg


Home | Main Index | Thread Index | Old Index