*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtDtsSetDataType (3)              
Title
Content
Arch
Section
 

Contents


 DtDtsSetDataType(library call)               DtDtsSetDataType(library call)




 NAME    [Toc]    [Back]
      DtDtsSetDataType - set the data type of a directory

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Dts.h>
      char *DtDtsSetDataType(
      const char *dirpath,
      const char *datatype,
      const int override);

 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      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.

 APPLICATION USAGE    [Toc]    [Back]
      Directories can have data types associated with them, just as regular
      files can.  For example, a file manager may choose to alter the
      appearance of the directory's icon based on this data type or a system
      may use a directory of files as an means of supporting a complex form
      of data, such as a compund document.

 SEE ALSO    [Toc]    [Back]
      Dt/Dts.h, DtDtsLoadDataTypes(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
typeCache IRIX fill desktop type cache for a directory
XmTab HP-UX Data type for a tab stop
XmTabList HP-UX Data type for a tab list
DtDtsFileToDataType HP-UX get a data type for a file
DtDtsDataTypeToAttributeValue HP-UX get an attribute value for a specified data type
vector Linux Vector data type for Tcl
DtDtsDataTypeToAttributeList HP-UX get a list of attributes for a data type
XmFontList Tru64 Data type for a font list
XmString Tru64 Data type for a compound string
XmRenderTable HP-UX Data type for a render table
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service