HP3000-L Archives

January 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gavin Scott <[log in to unmask]>
Reply To:
Gavin Scott <[log in to unmask]>
Date:
Mon, 25 Jan 1999 15:26:59 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (12 lines)
> Does anyone know what the function strdup returns on the HP?

I have the feeling that strdup doesn't exist on MPE/iX.  I haven't
looked into it beyond determining that there is no prototype for it
in string[s].h, and just went ahead and replaced it with:

   strcpy(malloc(strlen(mystr) + 1), mystr)

I was using C/iX rather than gcc I believe.

G.

ATOM RSS1 RSS2