From d924ccec4fc2a082d00202d410f2798f8fd31f90 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 22 Jul 1995 22:48:10 +0000 Subject: Add declaration for open_seek. --- devio/open.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'devio') diff --git a/devio/open.h b/devio/open.h index c202d9ed..80763585 100644 --- a/devio/open.h +++ b/devio/open.h @@ -64,4 +64,10 @@ error_t open_write(struct open *open, vm_address_t buf, vm_size_t len, error_t open_read(struct open *open, vm_address_t *buf, vm_size_t *buf_len, vm_size_t amount, off_t offs); +/* Set OPEN's location to OFFS, interpreted according to WHENCE as by seek. + The new absolute location is returned in NEW_OFFS (and may not be the same + as OFFS). If no error occurs, zero is returned, otherwise the error code + is returned. */ +error_t open_seek (struct open *open, off_t offs, int whence, off_t *new_offs); + #endif /* !__OPEN_H__ */ -- cgit v1.2.3