Re: [ILUG] C question [puzzled by strdup()]

From: Paul Jakma (paulj at domain alphyra.ie)
Date: Thu 02 Aug 2001 - 13:34:15 IST


On Thu, 2 Aug 2001, Waider wrote:

> Not really relevant, since Kevin was just making a point.

ah ok..

> If you were really concerned about the accuracy of the code, it
> should probably return NULL and set errno to ENOMEM.

ah...

what about apps? they'd define and use their own global error variable
presumably?

> Waider. EBAY, code has been lost in San Francisco harbour.

thanks,

--paulj enlightened.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:27 GMT