1 /* $NetBSD: rawfs.h,v 1.1.60.3 2004/09/21 13:15:27 skrll Exp $ */
4 * Raw file system - for stream devices like tapes.
5 * No random access, only sequential read allowed.
8 int rawfs_open(const char *, struct open_file
*);
9 int rawfs_close(struct open_file
*);
10 int rawfs_read(struct open_file
*, void *, u_int
, u_int
*);
11 int rawfs_write(struct open_file
*, void *, u_int
, u_int
*);
12 off_t
rawfs_seek(struct open_file
*, off_t
, int);
13 int rawfs_stat(struct open_file
*, struct stat
*);