aboutsummaryrefslogtreecommitdiff
path: root/include/mingw.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-03-24 16:37:13 +0000
committerRon Yorston <rmy@pobox.com>2020-03-24 16:43:46 +0000
commite6680912a298dc2dee83f41837cb52160cf562d9 (patch)
tree90e61d8566d6279d8dfbb0c823b87c1cc91148d7 /include/mingw.h
parent87a56761cf04eca49295f95f353f252a53b33a46 (diff)
downloadbusybox-w32-e6680912a298dc2dee83f41837cb52160cf562d9.tar.gz
busybox-w32-e6680912a298dc2dee83f41837cb52160cf562d9.tar.bz2
busybox-w32-e6680912a298dc2dee83f41837cb52160cf562d9.zip
dd: create a sparse file when seek=N is used
When the seek=N argument is used mark the file as sparse and set the range that is sparse. See https://stackoverflow.com/questions/4011508/how-to-create-a-sparse-file-on-ntfs
Diffstat (limited to 'include/mingw.h')
-rw-r--r--include/mingw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 3ab49a920..a5a84cff2 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -533,3 +533,4 @@ int chdir_system_drive(void);
533char *xabsolute_path(char *path); 533char *xabsolute_path(char *path);
534char *get_drive_cwd(const char *path, char *buffer, int size); 534char *get_drive_cwd(const char *path, char *buffer, int size);
535void fix_path_case(char *path); 535void fix_path_case(char *path);
536void seek_sparse(int fd, size_t size);