summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stringto/stringtounsignedchar.c
blob: b9a3e983bd2fca9a452720c179ba2e0fcf0ae278 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *  COPYRIGHT (c) 2009.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

/*
 *  Instantiate an error checking wrapper for strtol (unsigned char)
 */
#define STRING_TO_INTEGER
#define STRING_TO_TYPE unsigned char
#define STRING_TO_NAME rtems_string_to_unsigned_char
#define STRING_TO_METHOD strtoul
#define STRING_TO_MAX ULONG_MAX
#include "stringto_template.h"