RTEMS  5.0.0
stringto.h
Go to the documentation of this file.
1 
12 /*
13  * COPYRIGHT (c) 2009-2011.
14  * On-Line Applications Research Corporation (OAR).
15  *
16  * The license and distribution terms for this file may be
17  * found in the file LICENSE in this distribution or at
18  * http://www.rtems.org/license/LICENSE.
19  */
20 
21 #ifndef _RTEMS_STRINGTO_H
22 #define _RTEMS_STRINGTO_H
23 
30 #include <rtems.h>
31 
47  const char *s,
48  void **n,
49  char **endptr
50 );
51 
68  const char *s,
69  unsigned char *n,
70  char **endptr,
71  int base
72 );
73 
89  const char *s,
90  int *n,
91  char **endptr,
92  int base
93 );
94 
110  const char *s,
111  unsigned int *n,
112  char **endptr,
113  int base
114 );
115 
132  const char *s,
133  long *n,
134  char **endptr,
135  int base
136 );
137 
154  const char *s,
155  unsigned long *n,
156  char **endptr,
157  int base
158 );
159 
176  const char *s,
177  long long *n,
178  char **endptr,
179  int base
180 );
181 
198  const char *s,
199  unsigned long long *n,
200  char **endptr,
201  int base
202 );
203 
218  const char *s,
219  float *n,
220  char **endptr
221 );
222 
237  const char *s,
238  double *n,
239  char **endptr
240 );
241 
256  const char *s,
257  long double *n,
258  char **endptr
259 );
260 
261 #endif
262 
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:33
rtems_status_code rtems_string_to_double(const char *s, double *n, char **endptr)
Convert String to Double (with validation).
Definition: stringtodouble.c:33
rtems_status_code rtems_string_to_float(const char *s, float *n, char **endptr)
Convert String to Float (with validation).
Definition: stringtofloat.c:33
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:33
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:38
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:33
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:33
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:42
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:33
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:33
rtems_status_code rtems_string_to_pointer(const char *s, void **n, char **endptr)
Convert String to Pointer (with validation).
Definition: stringtopointer.c:45