Add getbsize() function

Import code from DragonFlyBSD and man page from FreeBSD.
This commit is contained in:
Guillem Jover
2014-06-26 21:32:11 +02:00
parent a88bb8380d
commit e8f9300355
6 changed files with 203 additions and 0 deletions

View File

@@ -70,6 +70,8 @@ void *reallocf(void *ptr, size_t size);
long long strtonum(const char *nptr, long long minval, long long maxval,
const char **errstr);
char *getbsize(int *headerlenp, long *blocksizep);
__END_DECLS
#endif