Ignore:
Timestamp:
Dec 1, 2009, 10:16:10 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
10098f9
Parents:
57544fb
Message:

2009-12-01 Joel Sherrill <joel.sherrill@…>

  • libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h: Tidy up as part of adding new test.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/stringto/stringto.h

    r57544fb r2c6a3e7e  
    7979
    8080/**
     81 *  @brief Convert String to Unsigned Int (with validation)
     82 *
     83 *  This method converts a string to an unsigned int with range validation.
     84 *
     85 *  @param[in] s is the string to convert
     86 *  @param[in] n points to the variable to place the converted output in
     87 *  @param[in] endptr is used to keep track of the position in the string
     88 *  @param[in] base is the expected base of the number
     89 *
     90 *  @return This method returns RTEMS_SUCCESSFUL on successful conversion
     91 *          and *n is filled in.  Otherwise, the status indicates the
     92 *          source of the error.
     93 */
     94rtems_status_code rtems_string_to_unsigned_int(
     95  const char    *s,
     96  unsigned int  *n,
     97  char         **endptr,
     98  int            base
     99);
     100
     101/**
    81102 *  @brief Convert String to Long (with validation)
    82103 *
Note: See TracChangeset for help on using the changeset viewer.