Skip to Content.
Sympa Menu

freetds - Re: [freetds] malloc/errno portability considerations

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Reid, Roger L." <roger.reid AT dpw.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] malloc/errno portability considerations
  • Date: Fri, 7 Dec 2007 10:47:33 -0500

opengroup may define a standard, but malloc in a little OS called Solaris can
also return EAGAIN -
"no memory when you asked, but try again in a moment if you like"

but as said, it's not up to the library to hide the OS from the app, so not
all that relevant

-----Original Message-----
From: Christos Zoulas [mailto:christos AT zoulas.com]
Sent: Wednesday, December 05, 2007 12:03 PM
To: FreeTDS Development Group
Subject: Re: [freetds] malloc/errno portability considerations


ENOMEM is the only error malloc can return according to opengroup:

http://www.opengroup.org/onlinepubs/7990989775/xsh/malloc.html






Archive powered by MHonArc 2.6.24.

Top of Page