[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 0/2] Add support for strtol in nolibc



In this patch set, we add support for strtol function in nolibc.
It was also observed that the other strto* functions did not
report ERANGE error if the input causes an overflow/underflow or
EINVAL if the conversion was not possible. This is in accordance
with POSIX documentation [1].

[1] http://pubs.opengroup.org/onlinepubs/000095399/functions/strtol.html

Sharan Santhanam (2):
  lib/nolibc: strto* returns ERANGE/EINVAL error codes
  lib/nolibc: Add strtol function

 lib/nolibc/exportsyms.uk    |   1 +
 lib/nolibc/include/stdlib.h |   1 +
 lib/nolibc/stdlib.c         | 138 +++++++++++++++++++++++++++++++++++++++++---
 3 files changed, 133 insertions(+), 7 deletions(-)

-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.