DtDtsSetDataType man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



     DtDtsSetDataType(3UNIX System V (1 August 1995DtDtsSetDataType(3)

     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.

     APPLICATION USAGE
	  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
	  DtDts(5), DtDtsLoadDataTypes(3).

     Page 1					      (printed 9/3/04)

[top]

List of man pages available for IRIX

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]
Tweet
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