Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!aplcen!indri!nic.MR.NET!srcsip!tcnet!nis!quad!dts From: dts@quad.uucp (David T. Sandberg) Newsgroups: comp.lang.c Subject: Re: strdup() "need source" Message-ID: <177@quad.uucp> Date: 17 Jun 89 08:56:56 GMT References: <124@sssphx.UUCP> <2550092@hpisod2.HP.COM> Reply-To: dts@quad.uucp (David T. Sandberg) Organization: Quadric Systems, Richfield MN Lines: 26 In article <2550092@hpisod2.HP.COM> decot@hpisod2.HP.COM (Dave Decot) writes: >> I am trying to compile big banner on a unix-pc, SYSV 3.5 and >> need the function strdup()... > >THE !&$@*#*! SVID REQUIRES that function in the !@#&!@?!@ BASE SYSTEM! > >Are you telling me that an AT&T system that says it's System V Release 3.5 >DOES NOT HAVE this trivial function? No, the above party simply misrepresented his operating system. He is talking about Unix 3.5 for the Unix PC, which is a very different thing from System V r3. As to the query, strdup() is not provided, but then again the Unix PC's OS is kind of like a System V which little bits stolen from about everything out there. (An ancient cron, but shared libraries? ;') Anyway, someone has already posted a simple version of this trivial function, and I've drifted far enough from the topic of C for one day... -- char *david_sandberg() { return ( dts@quad.uucp || uunet!rosevax!sialis!quad!dts ); }