No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / mvme68k / stand / bootst / rawfs.h
blobc14d89f4395f7f80ddd1bb6fcd97471dfd122923
1 /* $NetBSD: rawfs.h,v 1.3 2005/12/11 12:18:19 christos Exp $ */
3 /*
4 * Raw file system - for stream devices like tapes.
5 * No random access, only sequential read allowed.
6 */
8 int rawfs_open(const char *path, struct open_file *f);
9 int rawfs_close(struct open_file *f);
10 int rawfs_read(struct open_file *f, void *buf, u_int size, u_int *resid);
11 int rawfs_write(struct open_file *f, void *buf, u_int size, u_int *resid);
12 off_t rawfs_seek(struct open_file *f, off_t offset, int where);
13 int rawfs_stat(struct open_file *f, struct stat *sb);