Mercurial > hg > toybox
comparison lib/lib.h @ 698:078138791b5c
Add cut from Jason Kyungwan Han.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 16 Nov 2012 12:26:48 -0600 |
parents | 786841fdb1e0 |
children | 977e19296b3f |
comparison
equal
deleted
inserted
replaced
697:ca9a1d8e2531 | 698:078138791b5c |
---|---|
173 int read_password(char * buff, int buflen, char* mesg); | 173 int read_password(char * buff, int buflen, char* mesg); |
174 int update_password(char *filename, char* username, char* encrypted); | 174 int update_password(char *filename, char* username, char* encrypted); |
175 | 175 |
176 // du helper functions | 176 // du helper functions |
177 char* make_human_readable(unsigned long long size, unsigned long unit); | 177 char* make_human_readable(unsigned long long size, unsigned long unit); |
178 | |
179 // cut helper functions | |
180 unsigned long get_int_value(const char *numstr, unsigned lowrange, unsigned highrange); |