Add interrupt safe read_lseek_blockwise function.

This commit is contained in:
Ondrej Kozina
2015-11-30 16:44:21 +01:00
committed by Milan Broz
parent 3e653ace3e
commit 7fc006b63b
2 changed files with 47 additions and 0 deletions

View File

@@ -103,6 +103,7 @@ ssize_t read_buffer(int fd, void *buf, size_t count);
ssize_t write_blockwise(int fd, int bsize, void *buf, size_t count);
ssize_t read_blockwise(int fd, int bsize, void *_buf, size_t count);
ssize_t write_lseek_blockwise(int fd, int bsize, char *buf, size_t count, off_t offset);
ssize_t read_lseek_blockwise(int fd, int bsize, char *buf, size_t count, off_t offset);
unsigned crypt_getpagesize(void);
int init_crypto(struct crypt_device *ctx);