•  Back 
  •  The device driver (MX_DEV) 
  •  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.39.4  dev_getline                                          TOS

For line-oriented input. mode as in dev_getc. The return will be the 
number of characters input without terminatng characters or similar. 
The file driver installed by DOS_XFS passes the dev_getline call on to 
the MX_DDEV subdriver if the function is supported in the MX_DDEV 
driver (pointer != NULL); otherwise the function is implemented auto 
matically as dev_fread. The line is then terminated with CR and LF;

Parameters:

    a0  =  FD *file 
    a1  =  char *buf 
    d1  =  long size 
    d0  =  int mode 
 -> d0  =  long amount