strdup


Description:


[ Version ( since = "1.0" ) ]
public string strdup (string s)

A wrapper around strdup.

Partly to trap calls to strdup, partly because in -ansi, gcc on Red Hat claims that strdup is undeclared.

Parameters:

s

The string to be cloned

Returns:

The cloned string.


Namespace: ICal.Memory
Package: libical-glib



2022 vala-language.org