hpux man page for dtdtsbuffertoattributelist

Query: dtdtsbuffertoattributelist

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DtDtsBufferToAttributeList(library call)								  DtDtsBufferToAttributeList(library call)

NAME
DtDtsBufferToAttributeList -- get a list of data attributes for a byte stream
SYNOPSIS
#include <Dt/Dts.h> DtDtsAttribute **DtDtsBufferToAttributeList( const void *buffer, const int size, const char *opt_name);
DESCRIPTION
The DtDtsBufferToAttributeList function returns a list of data attributes 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 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 VALUE
Upon successful completion, the DtDtsBufferToAttributeList function returns a NULL-terminated array of pointers of *DtDtsAttribute. If no value could be determined, it returns NULL.
APPLICATION USAGE
The application should use the DtDtsFreeAttributeList(3) function to release the memory for the returned value. The DtDtsBufferToAttributeList 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 ALSO
Dt/Dts.h, DtDtsDataToDataType(3), DtDtsLoadDataTypes(3), DtDtsFreeAttributeList(3). DtDtsBufferToAttributeList(library call)
Related Man Pages
dtdtsbuffertoattributevalue(3) - hpux
dtdtsdatatypetoattributelist(3) - hpux
dtdtsdatatypetoattributevalue(3) - hpux
get_audio_stream_buffer(3alleg4) - centos
get_audio_stream_buffer(3alleg4) - linux
Similar Topics in the Unix Linux Community
Unix File Permissions
How to list file size on HPUX?
Is UNIX an open source OS ?
SAN Migration question
Sequence extraction