diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-29 06:22:41 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-29 06:22:41 +0000 |
| commit | 8411215a807ac7948df16e12df0b1e878d368b2f (patch) | |
| tree | 98a84b8a96d7783adc54c37bc04004d79098fd05 /usr.sbin/pw/pw.h | |
| parent | 7d07bfd8a39e6aaea81cd608eb1bd7f472fa8cbc (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pw/pw.h')
| -rw-r--r-- | usr.sbin/pw/pw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/pw/pw.h b/usr.sbin/pw/pw.h index ed3b7158e907f..3ab3c74a95372 100644 --- a/usr.sbin/pw/pw.h +++ b/usr.sbin/pw/pw.h @@ -32,6 +32,7 @@ #include <string.h> #include <unistd.h> #include <stdarg.h> +#include <inttypes.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> @@ -101,3 +102,6 @@ char *pw_pwcrypt(char *password); extern const char *Modes[]; extern const char *Which[]; + +uintmax_t strtounum(const char *numstr, uintmax_t minval, uintmax_t maxval, + const char **errmsg); |
