Topic : Pure C Library Documentation Author : John Kormylo Version : LIB.HYP 1.0 Subject : Documentation/Pure C Library Nodes : 1309 Index Size : 32068 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ Dpathconf ] #include <tos.h> long Dpathconf( char *name, int n ); <name> is a NULL terminated string containing a file system name (folder pathname). <n> selects the type of information to return: -1 = max. legal value for <n>. 0 = internal limit on the number of open files. 1 = max. number of links to a file. 2 = max. length of a full path name. 3 = max. length of an individual file name. 4 = number of bytes that can be written atomically 5 = information about file name truncation. 6 = information about case sensitivity. Function returns information about a given sub-directory. The value 0x7FFFFFFFL is used to indicate no limit. For <n> == 5 (file name truncation), it returns: 0 = file names are never truncated. 1 = file names are automatically truncated to max. length. 2 = file names are automatically converted to MS-DOS file names (eight characters with 3 character extension). For <n> == 6 (case sensitivity), it returns: 0 = file names are case sensitive. 1 = file names are converted to upper case. 2 = file names are case insensitive, but are saved in the directory preserving their original case. MiNT Opcode 292 See also MiNT and Pathnames.