diff options
author | Rob Landley <rob@landley.net> | 2016-02-10 21:05:22 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-02-10 21:05:22 -0600 |
commit | f435f0412aa4ca631aa178d10ed33008e34f37cb (patch) | |
tree | 6174226167b101bda2ad4557b6e5b42987e64ad2 /lib/lib.h | |
parent | 3684510034450f5f50d1ad9b5acca327a5c484dd (diff) | |
download | toybox-f435f0412aa4ca631aa178d10ed33008e34f37cb.tar.gz |
Factor out strnstr() since posix hasn't got it, and add a config option for
the deeply sad passwd heuristics that don't even check numbers and punctuation.
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -199,6 +199,7 @@ int qstrcmp(const void *a, const void *b); void create_uuid(char *uuid); char *show_uuid(char *uuid); char *next_printf(char *s, char **start); +char *strnstr(char *line, char *str); #define HR_SPACE 1 // Space between number and units #define HR_B 2 // Use "B" for single byte units |