source: trunk/minix/commands/i386/mtools-3.9.7/plain_io.h@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 490 bytes
Line 
1#ifndef MTOOLS_PLAINIO_H
2#define MTOOLS_PLAINIO_H
3
4#include "stream.h"
5#include "msdos.h"
6#ifdef __EMX__
7#include <io.h>
8#endif
9
10/* plain io */
11#define NO_PRIV 1
12#define NO_OFFSET 2
13
14Stream_t *SimpleFileOpen(struct device *dev, struct device *orig_dev,
15 const char *name, int mode, char *errmsg, int mode2,
16 int locked, mt_size_t *maxSize);
17int check_parameters(struct device *ref, struct device *testee);
18
19int get_fd(Stream_t *Stream);
20void *get_extra_data(Stream_t *Stream);
21#endif
Note: See TracBrowser for help on using the repository browser.