/[avr-libc]/avr-libc/include/stdlib.h
ViewVC logotype

Diff of /avr-libc/include/stdlib.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by joerg_wunsch, Sun Aug 14 21:44:54 2005 UTC revision 1.24 by joerg_wunsch, Tue Sep 13 13:29:54 2005 UTC
# Line 77  typedef struct { Line 77  typedef struct {
77  /** Comparision function type for qsort(), just for convenience. */  /** Comparision function type for qsort(), just for convenience. */
78  typedef int (*__compar_fn_t)(const void *, const void *);  typedef int (*__compar_fn_t)(const void *, const void *);
79    
80  #ifndef DOXYGEN  #ifndef __DOXYGEN__
81    
82  #ifndef __ATTR_CONST__  #ifndef __ATTR_CONST__
83  #define __ATTR_CONST__ __attribute__((__const__))  #define __ATTR_CONST__ __attribute__((__const__))
# Line 112  abort(void) Line 112  abort(void)
112     \note The abs() and labs() functions are builtins of gcc.     \note The abs() and labs() functions are builtins of gcc.
113  */  */
114  extern int abs(int __i) __ATTR_CONST__;  extern int abs(int __i) __ATTR_CONST__;
115  #ifndef DOXYGEN  #ifndef __DOXYGEN__
116  #define abs(__i) __builtin_abs(__i)  #define abs(__i) __builtin_abs(__i)
117  #endif  #endif
118    
# Line 121  extern int abs(int __i) __ATTR_CONST__; Line 121  extern int abs(int __i) __ATTR_CONST__;
121     \note The abs() and labs() functions are builtins of gcc.     \note The abs() and labs() functions are builtins of gcc.
122  */  */
123  extern long labs(long __i) __ATTR_CONST__;  extern long labs(long __i) __ATTR_CONST__;
124  #ifndef DOXYGEN  #ifndef __DOXYGEN__
125  #define labs(__i) __builtin_labs(__i)  #define labs(__i) __builtin_labs(__i)
126  #endif  #endif
127    
# Line 267  atol(const char *__nptr) Line 267  atol(const char *__nptr)
267    
268             \code (int)strtol(nptr, (char **)NULL, 10); \endcode             \code (int)strtol(nptr, (char **)NULL, 10); \endcode
269  */  */
270  #ifdef DOXYGEN  #ifdef __DOXYGEN__
271  extern __inline__ int atoi(const char *__nptr) __ATTR_PURE__;  extern __inline__ int atoi(const char *__nptr) __ATTR_PURE__;
272  extern __inline__ int  extern __inline__ int
273  atoi(const char *__nptr)  atoi(const char *__nptr)

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26