In a recent note, Steve Rawlins said:

> Date:         Thu, 28 Sep 2006 18:06:08 -0500
> 
> Anybody use function "strdup" (malloc & duplicate a string) from an MVS "C" 
> progr
> am?
> 
> We are using  C compiler V2 R10 OS/390 C   on ZOS v1.4
> and we are trying to keep our code cross-platform compatible.
> 
> Is strdup (string duplicate) function supported by MVS?
> 
I've not used it, but it appears in:

    Title: z/OS V1R4.0 C/C++ Run-Time Library Reference
    Document Number: SA22-7821-04

... which is usually a pretty good indication.

It also appears in POSIX.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to