home *** CD-ROM | disk | FTP | other *** search
- /*_ io.h Fri Feb 26 1988 Modified by: Walter Bright */
- /* Copyright (C) 1987-1988 by Northwest Software */
- /* All Rights Reserved */
- /* Written by Walter Bright */
-
- /* Declarations for low level I/O functions */
-
- #ifndef IO_H
- #define IO_H 1
-
- int read(int,void *,unsigned);
- int _readx(int,void *,unsigned,unsigned);
- int write(int,void *,unsigned);
- int _writex(int,void *,unsigned,unsigned);
- int getDS(void);
- int open(char *,int,...);
- int creat(char *,int);
- int close(int);
- int unlink(char *);
- int remove(char *);
-
- long lseek(int,long,int);
- #define SEEK_SET 0 /* seek from start of file */
- #define SEEK_CUR 1 /* relative to current position */
- #define SEEK_END 2 /* relative to end of file */
-
- long filesize(char *);
- int isatty(int);
-
- #endif /* IO_H */
-