Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
DMI Library FunctionsnewDmiString(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 TYPEATTRIBUTE VALUE
MT-levelMT-Safe

SEE ALSO

 

freeDmiString(3DMI), libdmi(3LIB), attributes(5)


SunOS 5.9Go To TopLast Changed 12 Oct 1998

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.