prefux gettokens/getfields with uc_

This commit is contained in:
Nils O. Selåsdal
2016-03-09 00:10:23 +01:00
parent c3c9f25dc6
commit 21703ded30
5 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -96,8 +96,8 @@ char* uc_sprintbs(char *result, unsigned short value);
/** Like http://swtch.com/plan9port/man/man3/getfields.html
*/
int getfields(char *str, char **args, int max, int mflag, const char *sep);
int gettokens(char *str, char **args, int max, const char *sep);
int uc_getfields(char *str, char **args, int max, int mflag, const char *sep);
int uc_gettokens(char *str, char **args, int max, const char *sep);
//Converts bytes to a human representable test, (i.e. 12kB, 160 MB 1.78 GB etc.)
///result should be at least of size 12,