diff options
Diffstat (limited to 'common/tio.h')
-rw-r--r-- | common/tio.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/tio.h b/common/tio.h index cd3f370..b489b2e 100644 --- a/common/tio.h +++ b/common/tio.h @@ -47,22 +47,22 @@ typedef struct tio_fileinfo TFILE; /* Open a new TFILE based on the file descriptor. The timeout is set for any operation (value in milliseconds). */ -TFILE *tio_fdopen(int fd,int readtimeout,int writetimeout, - size_t initreadsize,size_t maxreadsize, - size_t initwritesize,size_t maxwritesize) +TFILE *tio_fdopen(int fd, int readtimeout, int writetimeout, + size_t initreadsize, size_t maxreadsize, + size_t initwritesize, size_t maxwritesize) LIKE_MALLOC MUST_USE; /* Read the specified number of bytes from the stream. */ -int tio_read(TFILE *fp,void *buf,size_t count); +int tio_read(TFILE *fp, void *buf, size_t count); /* Read and discard the specified number of bytes from the stream. */ -int tio_skip(TFILE *fp,size_t count); +int tio_skip(TFILE *fp, size_t count); /* Read all available data from the stream and empty the read buffer. */ int tio_skipall(TFILE *fp); /* Write the specified buffer to the stream. */ -int tio_write(TFILE *fp,const void *buf,size_t count); +int tio_write(TFILE *fp, const void *buf, size_t count); /* Write out all buffered data to the stream. */ int tio_flush(TFILE *fp); |