source: buchla-68k/libcio/fstubs.c@ c80943f

Last change on this file since c80943f was 7ecfb7b, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Unused variables and parameters.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 =============================================================================
3 fstubs.c -- stubs for testing with
4 Version 13 -- 1987-11-13 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
8#include "ram.h"
9
10/*
11 =============================================================================
12 readbuf() -- Reads an edited string from 'dev' into 'buf'
13 in {MS|GEM}DOS buffer format.
14
15 Buffer format:
16
17 buf[0] = buffer length, buf[1] = number of bytes read,
18 buf[2]..buf[buf[0]-1 = data area
19
20 Editing characters:
21
22 CR, LF End the line
23 BS, DEL Erase last character
24 ^U,^X Cancel (erase) entire line
25 ^R Retype line
26 ^C Terminate the process
27 ^Z End of file / end of line
28
29 Returns:
30 Value stddef Meaning
31 ----- ------- --------------------------------------------
32 1 Terminate process (^C entered)
33 0 SUCCESS Line available in buffer (CR or LF entered)
34 -1 EOF End of file (^Z entered)
35 =============================================================================
36*/
37
38int16_t readbuf(int16_t dev, int8_t *buf)
39{
40 (void)dev;
41 (void)buf;
42
43 xtrap15();
44 return(1);
45}
46
Note: See TracBrowser for help on using the repository browser.