mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 15:08:26 +08:00
libmisc: Doxygen Enhancement Task #2
http://www.google-melange.com/gci/task/view/google/gci2012/7959228
This commit is contained in:
committed by
Gedare Bloom
parent
9889d51724
commit
148e3de629
@@ -1,3 +1,10 @@
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* @brief Convert String to Unsigned Long Long (with validation)
|
||||
* @ingroup libmisc_conv_help Conversion Helpers
|
||||
*/
|
||||
|
||||
/*
|
||||
* COPYRIGHT (c) 2009.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
@@ -47,7 +54,7 @@ rtems_status_code rtems_string_to_unsigned_long (
|
||||
if ( end == s )
|
||||
return RTEMS_NOT_DEFINED;
|
||||
|
||||
if ( ( errno == ERANGE ) &&
|
||||
if ( ( errno == ERANGE ) &&
|
||||
(( result == 0 ) || ( result == ULONG_MAX )))
|
||||
return RTEMS_INVALID_NUMBER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user