home *** CD-ROM | disk | FTP | other *** search
- /* da_read(fd, buf, len) reads up to len characters from a file
-
- Copyright (c) 1983 by James F. Gimpel
- Copyright (c) 1983, 1984 by JMI Software Consultants, Inc.
- */
- #include "acom.h"
- #include "host.h"
-
- INT da_read(fd, buf, len)
- FILE fd;
- TEXT *buf;
- INT len;
- {
- IMPORT INT rr_mode;
-
- if (fd)
- return (read(fd, buf, len));
- else
- return (rawread(fd, buf, len, rr_mode));
- }