Browse Source

implemented getul

remotes/origin/userinput
TheUltimateOptimist 11 months ago
parent
commit
159fe0a017
  1. 6
      src/userinput.c

6
src/userinput.c

@ -197,3 +197,9 @@ unsigned int getu(char *message, unsigned int *min, unsigned int *max) {
LD(max) LD(max)
return getNumber(message, minld, maxld, NULL, NULL, 0, UINT_MAX); return getNumber(message, minld, maxld, NULL, NULL, 0, UINT_MAX);
} }
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);
}
Loading…
Cancel
Save