rose_strtoull
Convert a string to an unsigned long integer.
Synopsis
Declared in <rose_strtoull.h>
[[visibility]]
uint64_t
rose_strtoull(
char const* nptr,
char** endptr,
int base);
Description
This function is the same as the system strtoull() except it also allows base to be two, in which case it parses a binary literal consisting of '0' and '1' bits. If base is zero and the first nonâwhitespace characters of the string are '0b' then bits follow.
Return Value
Parsed unsigned value.
Parameters
Name |
Description |
nptr |
Input string to parse. |
endptr |
Receives pointer to the first unparsed character. |
base |
Numeric base for parsing. |
Created with MrDocs