Synopsis
int debug_getul(unsigned long *ul);
Description

debug_getul reads an unsigned long from the Debug Terminal. If the number starts with 0x it is interpreted as a hexadecimal number, if it starts with 0 it is interpreted as an octal number, if it starts with 0b it is interpreted as a binary number, otherwise it is interpreted as a decimal number. The number is written to the long object pointed to by ul.

debug_getul returns zero on success or -1 on error.