Re: [NEWBIE] Examine X.corpse problem.

From: Chris Gilbert (
Date: 04/03/00

Juliano Ravasi Ferraz wrote:
> Dan Merillat wrote:
> > If your libc has it, try strdupa() rather then strdup... it's automatically
> > free()'d when your function returns, and is cheaper (cpu-wise) then malloc
> > (which strdup() uses).
> What is your version of libc? I have GNU libc 2.1.1 and it does not have
> this func.

It's got it, it's a macro (no man page for it, but it's in info)  should
be in /usr/include/string.h


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 04/10/01 PDT