Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decot
From: decot@hpisod2.HP.COM (Dave Decot)
Newsgroups: comp.std.c
Subject: Re: char *strcat(), *strcpy(), *fgets();
Message-ID: <11580011@hpisod2.HP.COM>
Date: 27 Jun 88 19:08:49 GMT
References: <1309@ark.cs.vu.nl>
Organization: Hewlett Packard, Cupertino
Lines: 14

> < Most of us call this function strdup(). . .
> 
> Well. . .strdup is indeed useful, but probably the name should not start with
> "str", to avoid conflicts with possible revisions of the C standard.
> -- 
>     ado@ncifcrf.gov			ADO is a trademark of Ampex.

The reason "most of us" call it strdup() is that it's in the SVID that way.

For that reason, I'd object strongly if ANSI defined it to be something else.

So, go ahead and call it strdup().  :-)

Dave "I call it strsave()" Decot
hpda!decot