1285101Semaste/*	$NetBSD: dosfile.h,v 1.2 2024/06/29 13:46:40 rin Exp $	*/
2285101Semaste
3285101Semaste/*
4285101Semaste * Copyright (c) 1996
5285101Semaste *	Matthias Drochner.  All rights reserved.
6285101Semaste *
7285101Semaste * Redistribution and use in source and binary forms, with or without
8285101Semaste * modification, are permitted provided that the following conditions
9285101Semaste * are met:
10285101Semaste * 1. Redistributions of source code must retain the above copyright
11285101Semaste *    notice, this list of conditions and the following disclaimer.
12285101Semaste * 2. Redistributions in binary form must reproduce the above copyright
13285101Semaste *    notice, this list of conditions and the following disclaimer in the
14285101Semaste *    documentation and/or other materials provided with the distribution.
15285101Semaste *
16285101Semaste * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17285101Semaste * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18285101Semaste * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19285101Semaste * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20285101Semaste * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21285101Semaste * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22285101Semaste * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23285101Semaste * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24285101Semaste * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25285101Semaste * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26285101Semaste *
27285101Semaste */
28285101Semaste
29285101Semastevoid dosclose(int);
30285101Semasteint dosopen(const char *);
31285101Semasteint dosread(int, char *, int);
32285101Semasteint dosseek(int, int, int);
33285101Semasteextern int doserrno;	/* in dos_file.S */
34285101Semaste
35285101SemasteFS_DEF(dos);
36285101Semaste