summaryrefslogtreecommitdiff
path: root/storeio/open.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-23 19:58:30 +0000
committerMiles Bader <miles@gnu.org>1996-09-23 19:58:30 +0000
commitfad27b7a697bc0ae039a365588ed331506104e62 (patch)
treeb165322de49366d8762701874c83d71cc016d5d8 /storeio/open.h
parent5f5a34e1846c2139be4dc9da8e712cf91778ac94 (diff)
(open_read, open_write):
Use void * buffers.
Diffstat (limited to 'storeio/open.h')
-rw-r--r--storeio/open.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/storeio/open.h b/storeio/open.h
index efb2128d..cbac2a37 100644
--- a/storeio/open.h
+++ b/storeio/open.h
@@ -50,14 +50,14 @@ void open_free (struct open *open);
(which may be ignored if the device doesn't support random access),
and returns the number of bytes written in AMOUNT. If no error occurs,
zero is returned, otherwise the error code is returned. */
-error_t open_write (struct open *open, off_t offs, char *buf, size_t len,
+error_t open_write (struct open *open, off_t offs, void *buf, size_t len,
size_t *amount);
/* Reads up to AMOUNT bytes from the device into BUF and BUF_LEN using the
standard mach out-array convention. If no error occurs, zero is returned,
otherwise the error code is returned. */
error_t open_read (struct open *open, off_t offs, size_t amount,
- char **buf, size_t *buf_len);
+ void **buf, size_t *buf_len);
/* 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