summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stringto/stringtounsignedlonglong.c
diff options
context:
space:
mode:
authorMathew Kallada <matkallada@gmail.com>2012-12-21 11:13:06 -0600
committerJennifer Averett <jennifer.averett@oarcorp.com>2012-12-21 11:13:06 -0600
commitf5f267682478f7ccca40c9751ccc0dc01e76bd86 (patch)
tree912dbe12a0b467bfedfc8b07d0b562cc4dc9d8f5 /cpukit/libmisc/stringto/stringtounsignedlonglong.c
parentlibblock: Use rtems_blkdev_create_partition() (diff)
downloadrtems-f5f267682478f7ccca40c9751ccc0dc01e76bd86.tar.bz2
libmisc: Doxygen Enhancement Task #1
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/stringto/stringtounsignedlonglong.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/libmisc/stringto/stringtounsignedlonglong.c b/cpukit/libmisc/stringto/stringtounsignedlonglong.c
index 7ef6500158..a2ad544d64 100644
--- a/cpukit/libmisc/stringto/stringtounsignedlonglong.c
+++ b/cpukit/libmisc/stringto/stringtounsignedlonglong.c
@@ -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).
@@ -52,7 +59,7 @@ rtems_status_code rtems_string_to_unsigned_long_long (
if ( end == s )
return RTEMS_NOT_DEFINED;
- if ( ( errno == ERANGE ) &&
+ if ( ( errno == ERANGE ) &&
(( result == 0 ) || ( result == ULONG_LONG_MAX )))
return RTEMS_INVALID_NUMBER;