mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user