Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DtDtsSetDataType(3) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DtDts(5)

DtDtsLoadDataTypes(3)

DtDtsSetDataType(3)  —  Subroutines

NAME

DtDtsSetDataType − set the data type of a directory

SYNOPSIS

#include <Dt/Dts.h>
char ∗DtDtsSetDataType(const char ∗dirpath,
const char ∗datatype,
const int override);

DESCRIPTION

The DtDtsSetDataType() function sets the data type of a directory. This may be accomplished by adding a file named with a leading dot to the directory.

The dirpath argument is a pathname of the directory. 

The datatype argument is a data type. 

If the value is already set, DtDtsSetDataType() does not change the value unless the override argument is set to True. 

RETURN VALUE

Upon successful completion, the DtDtsSetDataType() function returns a pointer to a data type string, or NULL if it was unable to set or retrieve the data type. 

SEE ALSO

DtDts(5), DtDtsLoadDataTypes(3). 

  —  15 Jun 1994

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