home *** CD-ROM | disk | FTP | other *** search
- /* da_open(filename, len) opens the named file for direct access.
-
- Copyright (c) 1983 by James F. Gimpel
- Copyright (c) 1983, 1984, 1985 by JMI Software Consultants, Inc.
- */
- #include "acom.h"
- #include "host.h"
-
- FILE da_open(filename, len)
- TEXT *filename;
- INT len;
- {
- INT n;
-
- if ((n = da_special(filename, YES)) < 0)
- n = open(filename, D_OPEN, S_IWRITE);
- if (n >= 0)
- da_autoclos(n);
- return(n);
- }
-