•  Back 
  •  MagiC's DFS-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.15.4  The device driver (MX_DDEV)                             TOS

The sub-device driver (MX_DDEV) is inserted into the file descriptor 
by the DFS function dfs_dir2FD at the opening of a file and called up 
by the DOS_XFS. The MX_DDEV device driver has to make the following 
functions available:

typedef struct _mx_ddev
{
        LONG cdecl (*ddev_open)(struct _mx_dosfd *f);
        LONG cdecl (*ddev_close)();
        LONG cdecl (*ddev_read)();
        LONG cdecl (*ddev_write)();
        LONG cdecl (*ddev_stat)();
        LONG cdecl (*ddev_seek)();
        LONG cdecl (*ddev_datime)();
        LONG cdecl (*ddev_ioctl)();
        LONG cdecl (*ddev_delete)();
        LONG cdecl (*ddev_getc)();
        LONG cdecl (*ddev_getline)();
        LONG cdecl (*ddev_putc)();
} MX_DDEV;

See also: MagiC's DFS-concept   MagiC's XFS-concept