aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-22 00:17:14 +0200
committerMattias Andrée <maandree@kth.se>2024-09-22 00:17:14 +0200
commitb968f8ed826b9cc662c1a484040c55b0e0ad18c4 (patch)
tree9b69a95fb5154d14837991bef604fd25585f7087 /common.h
parentPeriodically save progress (diff)
downloaddeadshred-b968f8ed826b9cc662c1a484040c55b0e0ad18c4.tar.gz
deadshred-b968f8ed826b9cc662c1a484040c55b0e0ad18c4.tar.bz2
deadshred-b968f8ed826b9cc662c1a484040c55b0e0ad18c4.tar.xz
Expose device information in confirmation prompt
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.h b/common.h
index ad4b8a8..891f1c6 100644
--- a/common.h
+++ b/common.h
@@ -51,6 +51,7 @@ struct status {
/* io.c */
+char *readtextfileat(int dfd, const char *path);
void writeall(int fd, const void *data, size_t n, const char *fname);
void filecpy(int fd, off_t src, off_t len, const char *fname);
off_t filesize(int fd, const char *fname);