[BACK]Return to rawfs.h CVS log [TXT][DIR] Up to [local] / sys / arch / mvme68k / stand / bootst

Annotation of sys/arch/mvme68k/stand/bootst/rawfs.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: rawfs.h,v 1.4 2006/01/16 18:03:54 deraadt Exp $       */
                      2: /*     $NetBSD: rawfs.h,v 1.1 1995/10/17 22:58:29 gwr Exp $    */
                      3:
                      4: /*
                      5:  * Raw file system - for stream devices like tapes.
                      6:  * No random access, only sequential read allowed.
                      7:  */
                      8:
                      9: int    rawfs_open(char *path, struct open_file *f);
                     10: int    rawfs_close(struct open_file *f);
                     11: int    rawfs_read(struct open_file *f, void *buf,
                     12:                size_t size, size_t *resid);
                     13: int    rawfs_write(struct open_file *f, void *buf,
                     14:                size_t size, size_t *resid);
                     15: off_t  rawfs_seek(struct open_file *f, off_t offset, int where);
                     16: int    rawfs_stat(struct open_file *f, struct stat *sb);

CVSweb