newDmiString(3DMI) DMI Library Functions newDmiString(3DMI)NAMEnewDmiString - 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 │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Obsolete │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOfreeDmiString(3DMI), libdmi(3LIB), attributes(5)SunOS 5.10 30 May 2012 newDmiString(3DMI)