From: Waider (waider at domain waider.ie)
Date: Thu 02 Aug 2001 - 11:51:05 IST
At Thursday, 2 August 2001, you wrote:
>PREVENTION saying who is responsible for freeing it. like getpwnam -
>who free's that structure? is it a static in the function, or is it
>put on the heap and the user's responibility to free?
>
>kevin
Well, the ERRORS section says that a possible error is insufficient
memory to allocate passwd structure, and it returns a pointer to
same, so that would indicate that you have to free the pointer that's
returned.
Waider.
--
waider at domain waider.ie / Yes, it /is/ very personal of me.
http://www.emailreader.co.uk/ - because firewalls suck.
================================================================
Access over 250 professionally developed online training courses
Purchase a 12 months membership online. Click below for details
http://training.beginners.co.uk/moreinfo/vid/eml
================================================================
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:26 GMT