Query: dtdtsbuffertoattributevalue
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DtDtsBufferToAttributeValue(library call) DtDtsBufferToAttributeValue(library call)NAMEDtDtsBufferToAttributeValue -- get a single data attribute value for a byte streamSYNOPSIS#include <Dt/Dts.h> char *DtDtsBufferToAttributeValue( const void *buffer, const int size, const char *attr_name, const char *opt_name);DESCRIPTIONThe DtDtsBufferToAttributeValue function returns a data attribute value for a given byte stream. The buffer argument is a pointer to the buffer of the data to be typed. The size argument is the size of the buffer in bytes. The attr_name argument is a name of the attribute. The opt_name argument can be used to specify a name to be associated with the buffer. If the opt_name argument is not NULL, it is used as a pseudo file name in typing; otherwise, certain attributes may be returned as NULL because the filename components could not be deter- mined.RETURN VALUEUpon successful completion, the DtDtsBufferToAttributeValue function returns a pointer to a data attribute value string, or NULL if no value could be determined.APPLICATION USAGEThe application should use the DtDtsFreeAttributeValue(3) function to release the memory for the returned value. The DtDtsBufferToAttributeValue function assumes that the buffer is readable and writable by the user, group and other file classes and selects a type accordingly. An application requiring a type based on read-only permissions should use DtDtsDataToDataType.SEE ALSODt/Dts.h, DtDtsDataToDataType(3), DtDtsLoadDataTypes(3), DtDtsFreeAttributeValue(3). DtDtsBufferToAttributeValue(library call)
Related Man Pages |
---|
dtdtsbuffertoattributelist(3) - hpux |
dtdtsbuffertodatatype(3) - hpux |
dtdts(5) - hpux |
genders_testattrval(3) - linux |
genders_testattr(3) - linux |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Thank you members and admins |
Seeking Alternative for diff in hp |
Wrong Array... |