Rewrote dd.

This commit is contained in:
Matt Kraai
2000-12-18 21:38:57 +00:00
parent 0d2acb0ead
commit 24ac017961
9 changed files with 306 additions and 422 deletions

View File

@@ -190,6 +190,13 @@ extern char *xstrdup (const char *s);
#endif
extern char *xstrndup (const char *s, int n);
struct suffix_mult {
char *suffix;
int mult;
};
extern unsigned long parse_number(const char *numstr, struct suffix_mult *suffixes);
/* These parse entries in /etc/passwd and /etc/group. This is desirable
* for BusyBox since we want to avoid using the glibc NSS stuff, which