DtDtsBufferToDataType man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

DtDtsBufferToDataType(library call)	   DtDtsBufferToDataType(library call)

       DtDtsBufferToDataType — get the data type for a byte stream

       #include <Dt/Dts.h>
       char *DtDtsBufferToDataType(
       const void *buffer,
       const int size,
       const char *opt_name);

       The  DtDtsBufferToDataType  function  returns  the data type name 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‐

       Upon successful completion, the DtDtsBufferToDataType function  returns
       a  pointer  to  a  data	type name string, or NULL if no value could be

       The application should use the DtDtsFreeDataType(3) function to release
       the memory for the returned value.

       The  DtDtsBufferToDataType 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.

       Dt/Dts.h,  DtDtsDataToDataType(3),  DtDtsLoadDataTypes(3),   DtDtsFree‐

					   DtDtsBufferToDataType(library call)

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net