1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-23 17:46:23 -05:00

Move FIO return code into fileio.h, where they belong.

This commit is contained in:
Renaud 2013-06-09 16:16:02 +08:00
parent a3f3102013
commit b57c1adc20
2 changed files with 7 additions and 7 deletions

View File

@ -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 */

View File

@ -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