Article View: comp.std.c
Article #5103Re: char *strcat(), *strcpy(), *fgets();
From: Dave Decot
Date: Mon, 27 Jun 1988 19:08
Date: Mon, 27 Jun 1988 19:08
15 lines
903 bytes
903 bytes
> < 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
Technical Details
Message-ID:
<11580011@hpisod2.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decotReferences:
<1309@ark.cs.vu.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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