Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DtDtsFileToDataType(3) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DtDts(5)

DtDtsLoadDataTypes(3)

DtDtsFreeDataType(3)

DtDtsFileToDataType(3)  —  Subroutines

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). 

  —  15 Jun 1994

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