diff options
author | Ron Yorston <rmy@pobox.com> | 2020-03-24 16:37:13 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-03-24 16:43:46 +0000 |
commit | e6680912a298dc2dee83f41837cb52160cf562d9 (patch) | |
tree | 90e61d8566d6279d8dfbb0c823b87c1cc91148d7 /include/mingw.h | |
parent | 87a56761cf04eca49295f95f353f252a53b33a46 (diff) | |
download | busybox-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.h | 1 |
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); | |||
533 | char *xabsolute_path(char *path); | 533 | char *xabsolute_path(char *path); |
534 | char *get_drive_cwd(const char *path, char *buffer, int size); | 534 | char *get_drive_cwd(const char *path, char *buffer, int size); |
535 | void fix_path_case(char *path); | 535 | void fix_path_case(char *path); |
536 | void seek_sparse(int fd, size_t size); | ||