summaryrefslogblamecommitdiffstats
path: root/cpukit/libmisc/stringto/stringtolong.c
blob: fd8234e431ab4445d731fb5f31dea80fb6e87f95 (plain) (tree)




















                                                           
/*
 *  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 (long)
 */
#define STRING_TO_INTEGER
#define STRING_TO_TYPE long int
#define STRING_TO_NAME rtems_string_to_long
#define STRING_TO_METHOD strtol
#define STRING_TO_MIN LONG_MIN
#define STRING_TO_MAX LONG_MAX
#include "stringto_template.h"