RTEMS  5.1
stringto.h
Go to the documentation of this file.
1 
11 /*
12  * COPYRIGHT (c) 2009-2011.
13  * On-Line Applications Research Corporation (OAR).
14  *
15  * The license and distribution terms for this file may be
16  * found in the file LICENSE in this distribution or at
17  * http://www.rtems.org/license/LICENSE.
18  */
19 
20 #ifndef _RTEMS_STRINGTO_H
21 #define _RTEMS_STRINGTO_H
22 
29 #include <rtems.h>
30 
46  const char *s,
47  void **n,
48  char **endptr
49 );
50 
67  const char *s,
68  unsigned char *n,
69  char **endptr,
70  int base
71 );
72 
88  const char *s,
89  int *n,
90  char **endptr,
91  int base
92 );
93 
109  const char *s,
110  unsigned int *n,
111  char **endptr,
112  int base
113 );
114 
131  const char *s,
132  long *n,
133  char **endptr,
134  int base
135 );
136 
153  const char *s,
154  unsigned long *n,
155  char **endptr,
156  int base
157 );
158 
175  const char *s,
176  long long *n,
177  char **endptr,
178  int base
179 );
180 
197  const char *s,
198  unsigned long long *n,
199  char **endptr,
200  int base
201 );
202 
217  const char *s,
218  float *n,
219  char **endptr
220 );
221 
236  const char *s,
237  double *n,
238  char **endptr
239 );
240 
255  const char *s,
256  long double *n,
257  char **endptr
258 );
259 
260 #endif
261 
rtems_status_code rtems_string_to_int(const char *s, int *n, char **endptr, int base)
Convert String to Int (with validation).
Definition: stringtoint.c:34
rtems_status_code rtems_string_to_double(const char *s, double *n, char **endptr)
Convert String to Double (with validation).
Definition: stringtodouble.c:34
rtems_status_code rtems_string_to_float(const char *s, float *n, char **endptr)
Convert String to Float (with validation).
Definition: stringtofloat.c:34
rtems_status_code rtems_string_to_unsigned_long(const char *s, unsigned long *n, char **endptr, int base)
Convert String to Unsigned Long (with validation).
Definition: stringtounsignedlong.c:34
rtems_status_code
Classic API Status.
Definition: status.h:43
rtems_status_code rtems_string_to_unsigned_long_long(const char *s, unsigned long long *n, char **endptr, int base)
Convert String to Unsigned Long Long (with validation).
Definition: stringtounsignedlonglong.c:39
rtems_status_code rtems_string_to_unsigned_int(const char *s, unsigned int *n, char **endptr, int base)
Convert String to Unsigned Int (with validation).
Definition: stringtounsignedint.c:34
rtems_status_code rtems_string_to_long(const char *s, long *n, char **endptr, int base)
Convert String to Long (with validation).
Definition: stringtolong.c:34
rtems_status_code rtems_string_to_long_long(const char *s, long long *n, char **endptr, int base)
Convert String to Long Long (with validation).
Definition: stringtolonglong.c:43
rtems_status_code rtems_string_to_unsigned_char(const char *s, unsigned char *n, char **endptr, int base)
Convert String to Unsigned Character (with validation).
Definition: stringtounsignedchar.c:34
rtems_status_code rtems_string_to_long_double(const char *s, long double *n, char **endptr)
Convert String to long double (with validation).
Definition: stringtolongdouble.c:34
rtems_status_code rtems_string_to_pointer(const char *s, void **n, char **endptr)
Convert String to Pointer (with validation).
Definition: stringtopointer.c:46