mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-02 07:30:58 +00:00
parent
eb11e077fc
commit
8c65219c96
@ -342,6 +342,17 @@ namespace Genode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Read unsigned short value from string
|
||||||
|
*
|
||||||
|
* \return number of consumed characters
|
||||||
|
*/
|
||||||
|
inline size_t ascii_to(const char *s, unsigned short &result)
|
||||||
|
{
|
||||||
|
return ascii_to_unsigned(s, result, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read unsigned long value from string
|
* Read unsigned long value from string
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user