Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File11.5.15.1.7 dfs_fcreate TOS Name: »dfs_fcreate« Parameters: a0 = FD *dd a1 = DIR *dir d0 = int cmd d1 = long arg -> d0 = long errcode Description: dfs_fcreate is used for Fcreate, Dcreate and Dcntl. The DOS_XFS has already found free space in the directory dd, and - at first in memory - created the new directory entry dir. Those parts of the DIR not used in every DFS (the cluster number too) are already initialized with NULLs. The DFS has the opportunity here still to make corrections and to initialize the reserved DIR areas according to the file-type before the DOS_XFS writes the whole entry into the directory. When the call Dcntl or Fsymlink occurs, d0 and a0 contain the relevant parameters, otherwise d0 == 0. If d0 == SYMLINK_CREATE, a symbolic link must (or at least can, if possible) be created. Group: Make-up of a DFS See also: MagiC's DFS-concept