aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrjune <rjune@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-22 22:35:38 +0000
committerrjune <rjune@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-22 22:35:38 +0000
commit6be1fd967c69696684f75eeab758b56bd5c2eaf9 (patch)
tree97ed53aec9cbe3a3021804e9758abb3e04f05879 /include
parent6ddaebeb3829d0865b3b29be747c894d12843763 (diff)
downloadbusybox-w32-6be1fd967c69696684f75eeab758b56bd5c2eaf9.tar.gz
busybox-w32-6be1fd967c69696684f75eeab758b56bd5c2eaf9.tar.bz2
busybox-w32-6be1fd967c69696684f75eeab758b56bd5c2eaf9.zip
Add HUMAN_READABLE define for -m and -h support in du, df, and ls
Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default) Fix bug #1084 git-svn-id: svn://busybox.net/trunk/busybox@1635 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/busybox.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h
index a89ac3694..018c636cf 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -259,4 +259,11 @@ extern int sysinfo (struct sysinfo* info);
259#define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0) 259#define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
260#endif 260#endif
261 261
262#ifdef BB_FEATURE_HUMAN_READABLE
263char *format(unsigned long val, unsigned long hr);
264#define KILOBYTE 1024
265#define MEGABYTE (KILOBYTE*1024)
266#define GIGABYTE (MEGABYTE*1024)
267#endif
268
262#endif /* _BB_INTERNAL_H_ */ 269#endif /* _BB_INTERNAL_H_ */