•  Back 
  •  MagiC's XFS-concept 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
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.16.21  xfs_freeDD                                             TOS

 Name:        »xfs_freeDD« - Release a DD.

 Parameters:

               a0 =     DD *
               ->       void

 Description: The kernel has decremeted the reference counter of a DD 
              to 0, so that the DD is no longer referenced by the 
              kernel. The function xfs_freeDD is called, say, when the 
              kernel after the Fopen no longer requires the path in 
              which the opened file lies and which was passed to 
              xfs_fopen. XFSs that do not perform garbage collection 
              can release their DDs via this function.

              One must ensure that the root is never released. Either 
              one builds in a special inquiry here, or (more elegant) 
              already sets the reference counter of the root with 
              xfs_drv_open to 1.

 Group:       Make-up of an XFS

 See also:    MagiC's XFS-concept