newDmiString(3DMI) DMI Library Functions newDmiString(3DMI)
NAME
newDmiString - create DmiString in dynamic memory
SYNOPSIS
cc [ flag ... ] file ... -ldmi -lnsl -lrwtool [ library ... ]
#include <dmi/util.hh>
DmiString_t *newDmiString(char *str);
DESCRIPTION
The newDmiString() function creates a DmiString in dynamic memory and returns a pointer to the newly created DmiString. The function
returns NULL if no memory is available.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
freeDmiString(3DMI), libdmi(3LIB), attributes(5)
SunOS 5.10 12 Oct 1998 newDmiString(3DMI)