mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-19 07:46:24 -05:00
Move FIO return code into fileio.h, where they belong.
This commit is contained in:
parent
a3f3102013
commit
b57c1adc20
@ -289,13 +289,6 @@
|
|||||||
#define FORWARD 0 /* forward direction */
|
#define FORWARD 0 /* forward direction */
|
||||||
#define REVERSE 1 /* backwards direction */
|
#define REVERSE 1 /* backwards direction */
|
||||||
|
|
||||||
#define FIOSUC 0 /* File I/O, success. */
|
|
||||||
#define FIOFNF 1 /* File I/O, file not found. */
|
|
||||||
#define FIOEOF 2 /* File I/O, end of file. */
|
|
||||||
#define FIOERR 3 /* File I/O, error. */
|
|
||||||
#define FIOMEM 4 /* File I/O, out of memory */
|
|
||||||
#define FIOFUN 5 /* File I/O, eod of file/bad line */
|
|
||||||
|
|
||||||
#define CFCPCN 0x0001 /* Last command was C-P, C-N */
|
#define CFCPCN 0x0001 /* Last command was C-P, C-N */
|
||||||
#define CFKILL 0x0002 /* Last command was a kill */
|
#define CFKILL 0x0002 /* Last command was a kill */
|
||||||
|
|
||||||
|
7
fileio.h
7
fileio.h
@ -1,6 +1,13 @@
|
|||||||
#ifndef _FILEIO_H_
|
#ifndef _FILEIO_H_
|
||||||
#define _FILEIO_H_
|
#define _FILEIO_H_
|
||||||
|
|
||||||
|
#define FIOSUC 0 /* File I/O, success. */
|
||||||
|
#define FIOFNF 1 /* File I/O, file not found. */
|
||||||
|
#define FIOEOF 2 /* File I/O, end of file. */
|
||||||
|
#define FIOERR 3 /* File I/O, error. */
|
||||||
|
#define FIOMEM 4 /* File I/O, out of memory */
|
||||||
|
#define FIOFUN 5 /* File I/O, eod of file/bad line */
|
||||||
|
|
||||||
#define FTYPE_NONE 0
|
#define FTYPE_NONE 0
|
||||||
#define FTYPE_UNIX 1
|
#define FTYPE_UNIX 1
|
||||||
#define FTYPE_DOS 2
|
#define FTYPE_DOS 2
|
||||||
|
Loading…
Reference in New Issue
Block a user