X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fstrtol10.c;h=6521a6a5a560978164d3dbb13ec988497dcb50f4;hb=4654a69f5df97af36ee5456d20cbccdc19012dc2;hp=137772232e57d12c9b4646de1c016e3776913175;hpb=ab425430a31e363120a8847bfed6f23811adeeee;p=bertos.git diff --git a/mware/strtol10.c b/mware/strtol10.c old mode 100755 new mode 100644 index 13777223..6521a6a5 --- a/mware/strtol10.c +++ b/mware/strtol10.c @@ -1,8 +1,33 @@ -/*! +/** * \file * * * \brief Poor man's hex arrays (implementation). @@ -11,16 +36,9 @@ * \author Bernardo Innocenti */ -/*#* - *#* $Log$ - *#* Revision 1.1 2005/03/15 00:06:30 bernie - *#* Simpler, smaller, faster. - *#* - *#*/ - #include "strtol10.h" -/*! +/** * Convert a formatted base-10 ASCII number to unsigned long binary representation. * * Unlike the standard strtoul(), this function has an interface @@ -29,7 +47,7 @@ * * \param first Pointer to first byte of input range (STL-style). * \param last Pointer to end of input range (STL-style). - * Pass NULL to parse up to the first \0. + * Pass NULL to parse up to the first \\0. * \param val Pointer to converted value. * * \return true for success, false for failure. @@ -55,7 +73,7 @@ bool strtoul10(const char *first, const char *last, unsigned long *val) } -/*! +/** * Convert a formatted base-10 ASCII number to signed long binary representation. * * \see strtoul10()