Re: strdup or str_dup?

From: Chris Jacobson (fear@technologist.com)
Date: 03/08/99


On 3/8/99 9:57 AM, Nocturnal Occulto (ronnyi@ifi.uio.no) stated:

>strdup or str_dup? Which one should I use and why?

Either, but not all systems have strdup(), hence why an Circle str_dup is
used.  Plus the Circle version can catch null strings, strdup() would
crash.

- Chris Jacobson


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST