Synopsis
#include <cross_studio_io.h>
int debug_getul(unsigned long *ull);
Description

debug_getull prompts the user to enter an integer. 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 unsigned long long object pointed to by ull.

debug_getull returns zero on success and EOF on error.

Portability

debug_getull is an extension provided by CrossWorks C.