/*
 * $Id: dosfile.h,v 1.2 2004-04-26 07:14:04 standa Exp $
 *
 * The ARAnyM MetaDOS driver.
 *
 * 2002 STan
 *
 * Based on:
 * dosfile.h,v 1.7 2001/06/13 20:21:14 fna Exp
 *
 * This file has been modified as part of the FreeMiNT project. See
 * the file Changes.MH for details and dates.
 */

# ifndef _dosfile_h
# define _dosfile_h

# include "mint/mint.h"
# include "mint/file.h"

# include "mintfake.h"


extern short select_coll;

long _cdecl sys_f_open (MetaDOSFile const char *name, short mode);
long _cdecl sys_f_create (MetaDOSFile const char *name, short attrib);
long _cdecl sys_f_close (MetaDOSFile short fd);
long _cdecl sys_f_read (MetaDOSFile short fd, long count, char *buf);
long _cdecl sys_f_write (MetaDOSFile short fd, long count, const char *buf);
long _cdecl sys_f_seek (MetaDOSFile long place, short fd, short how);
long _cdecl sys_f_datime (MetaDOSFile ushort *timeptr, short fd, short wflag);


# endif /* _dosfile_h */
