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.39.1 dev_close TOS Name: »dev_close« Parameters: a0 = FD *file -> d0 = long errcode Description: If fd_refcnt is not 0 already, fd_refcnt must be decremented (this must be accomplished by the MX_DEV). On this occasion any buffers that may be present should be written back and directory entries updated. If fd_refcnt is 0, the FD can be released. At a disk media change fd_refcnt is already 0 at a dev_close call, i.e. the FD just needs to be released. The file driver installed by DOS_XFS writes back the directory data and then calls the MX_DDEV subdriver. Group: Workstation driver See also: -