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

Annotation of sys/arch/mvmeppc/stand/libsa/rawfs.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: rawfs.h,v 1.2 2002/03/14 01:26:41 millert Exp $       */
                      2:
                      3: /*
                      4:  * Raw file system - for stream devices like tapes.
                      5:  * No random access, only sequential read allowed.
                      6:  */
                      7:
                      8: int    rawfs_open(char *path, struct open_file *f);
                      9: int    rawfs_close(struct open_file *f);
                     10: int    rawfs_read(struct open_file *f, void *buf,
                     11:                u_int size, u_int *resid);
                     12: int    rawfs_write(struct open_file *f, void *buf,
                     13:                u_int size, u_int *resid);
                     14: off_t  rawfs_seek(struct open_file *f, off_t offset, int where);
                     15: int    rawfs_stat(struct open_file *f, struct stat *sb);

CVSweb