Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

stdlib.h

Go to the documentation of this file.
00001 /*!     \file include/stdlib.h
00002  *      \brief LIBC stdlib.
00003  *      \author Andrea Righi <drizzt@inwind.it>
00004  *      \date Last update: 2003-11-05
00005  *      \note Copyright (C) 2003 Andrea Righi
00006  */
00007 
00008 #ifndef STDLIB_H
00009 #define STDLIB_H
00010 
00011 #include <types.h>
00012 
00013 /** \ingroup LibC
00014  *  \defgroup LibCStdlib stdlib
00015  *  Standard library operators.
00016  *  @{
00017  */
00018 
00019 //! Count the elements from an array.
00020 #define _countof(a)     ( sizeof(a) / sizeof((a)[0]) )
00021 
00022 #define EXIT_FAILURE    1       //!< Failing exit status.
00023 #define EXIT_SUCCESS    0       //! Successful exit status.
00024 
00025 extern int atoi(const char *__str);
00026 
00027 extern void *malloc(size_t __size);
00028 extern void free(void *__ptr);
00029 
00030 /** @} */ // end of LibCStdlib
00031 
00032 #endif

Generated on Fri Feb 20 15:32:16 2004 for Minirighi by doxygen1.2.18