Peter Memishian wrote:
> > > ENOMEM Insufficient storage space is available.
> >
> > Roger-- does this errno of ENOMEM collapse the two malloc errnos
> > (ENOMEM and EAGAIN) together? Or is EAGAIN still a possible
> > errno return?
>
> Given the ability to DR in memory, what is the practical distinction
> between ENOMEM and EAGAIN?
>
At least in libumem, the distinction between ENOMEM and EAGAIN is based
on constants in the library. If it returns ENOMEM, it's never going to
succeed - no matter how much memory you add.
Scott
--
Scott Rotondo
Principal Engineer, Solaris Security Technologies
President, Trusted Computing Group
Phone/FAX: +1 408 850 3655 (Internal x68278)