diff --git a/src/userinput.c b/src/userinput.c index 35827f1..f57d0b0 100644 --- a/src/userinput.c +++ b/src/userinput.c @@ -202,4 +202,10 @@ unsigned long getul(char *message, unsigned long *min, unsigned long *max) { LD(min) LD(max) return getNumber(message, minld, maxld, NULL, NULL, 0, ULONG_MAX); +} + +unsigned long long getull(char *message, unsigned long long *min, unsigned long long *max) { + LD(min) + LD(max) + return getNumber(message, minld, maxld, NULL, NULL, 0, ULLONG_MAX); } \ No newline at end of file