Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DtDtsFileToDataType(3) — CDE 1.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DtDts(5)

DtDtsLoadDataTypes(3)

DtDtsFreeDataType(3)

DtDtsFileToDataType(3)

NAME

DtDtsFileToDataType − get a data type for a file

SYNOPSIS

#include <Dt/Dts.h>
char ∗DtDtsFileToDataType(const char ∗filepath);

DESCRIPTION

The function DtDtsFileToDataType() returns a data type name for the specified file.

The filepath argument is the pathname of the file. 

RETURN VALUE

Upon successful completion, the DtDtsFileToDataType() function returns a pointer to a data type name string, or NULL if no value could be determined. 

APPLICATION USAGE

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

SEE ALSO

DtDts(5), DtDtsLoadDataTypes(3), DtDtsFreeDataType(3). 

SunOS 1.0.1  —  Last change: 15 Jun 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026