stdlib.h File Reference

API published in:
API deprecated in:


#include <sys/cdefs.h>
#include <sys/_null.h>
#include <sys/_types.h>
#include <_ansi.h>

Go to the source code of this file.


Data Structures

struct   div_t
struct   ldiv_t

Defines

#define  EXIT_FAILURE   1
#define  EXIT_SUCCESS   0
#define  RAND_MAX   0x7fffffff
#define  MB_CUR_MAX   __mb_cur_max
#define  inline   __inline

Typedefs

typedef __size_t  size_t
typedef __wchar_t  wchar_t

Functions

__BEGIN_DECLS IMPORT_C void  abort (void) __dead2
IMPORT_C int  abs (int) __pure2
IMPORT_C int  atexit (void(*)(void))
IMPORT_C double  atof (const char *)
IMPORT_C int  atoi (const char *)
IMPORT_C long  atol (const char *)
IMPORT_C void *  bsearch (const void *, const void *, size_t, size_t, int(*)(const void *, const void *))
IMPORT_C void *  calloc (size_t, size_t)
IMPORT_C div_t  div (int, int) __pure2
IMPORT_C void  exit (int) __dead2
IMPORT_C void  free (void *)
IMPORT_C char *  getenv (const char *)
IMPORT_C long  labs (long) __pure2
IMPORT_C ldiv_t  ldiv (long, long) __pure2
IMPORT_C void *  malloc (size_t)
IMPORT_C int  mblen (const char *, size_t)
IMPORT_C size_t  mbstowcs (wchar_t *__restrict, const char *__restrict, size_t)
IMPORT_C int  mbtowc (wchar_t *__restrict, const char *__restrict, size_t)
IMPORT_C void  qsort (void *, size_t, size_t, int(*)(const void *, const void *))
IMPORT_C int  rand (void)
IMPORT_C void *  realloc (void *, size_t)
IMPORT_C void  srand (unsigned)
IMPORT_C double  strtod (const char *__restrict, char **__restrict)
IMPORT_C float  strtof (const char *__restrict, char **__restrict)
IMPORT_C long  strtol (const char *__restrict, char **__restrict, int)
IMPORT_C long double  strtold (const char *__restrict, char **__restrict)
IMPORT_C unsigned long  strtoul (const char *__restrict, char **__restrict, int)
IMPORT_C int  system (const char *)
IMPORT_C int  wctomb (char *, wchar_t)
IMPORT_C size_t  wcstombs (char *__restrict, const wchar_t *__restrict, size_t)

Variables

int  __mb_cur_max

Define Documentation

#define EXIT_FAILURE   1
 
#define EXIT_SUCCESS   0
 
#define inline   __inline
 
#define MB_CUR_MAX   __mb_cur_max
 
#define RAND_MAX   0x7fffffff
 

Typedef Documentation

typedef __size_t size_t
 
typedef __wchar_t wchar_t
 

Function Documentation

__BEGIN_DECLS IMPORT_C void abort void   ) 
 
IMPORT_C int abs int   ) 
 
IMPORT_C int atexit void(*)(void)   ) 
 
IMPORT_C double atof const char *   ) 
 
IMPORT_C int atoi const char *   ) 
 
IMPORT_C long atol const char *   ) 
 
IMPORT_C void* bsearch const void *  ,
const void *  ,
size_t  ,
size_t  ,
int(*)(const void *, const void *) 
 
IMPORT_C void* calloc size_t  ,
size_t 
 
IMPORT_C div_t div int  ,
int 
 
IMPORT_C void exit int   ) 
 
IMPORT_C void free void *   ) 
 
IMPORT_C char* getenv const char *   ) 
 
IMPORT_C long labs long   ) 
 
IMPORT_C ldiv_t ldiv long  ,
long 
 
IMPORT_C void* malloc size_t   ) 
 
IMPORT_C int mblen const char *  ,
size_t 
 
IMPORT_C size_t mbstowcs wchar_t __restrict,
const char *  __restrict,
size_t 
 
IMPORT_C int mbtowc wchar_t __restrict,
const char *  __restrict,
size_t 
 
IMPORT_C void qsort void *  ,
size_t  ,
size_t  ,
int(*)(const void *, const void *) 
 
IMPORT_C int rand void   ) 
 
IMPORT_C void* realloc void *  ,
size_t 
 
IMPORT_C void srand unsigned   ) 
 
IMPORT_C double strtod const char *  __restrict,
char **  __restrict
 
IMPORT_C float strtof const char *  __restrict,
char **  __restrict
 
IMPORT_C long strtol const char *  __restrict,
char **  __restrict,
int 
 
IMPORT_C long double strtold const char *  __restrict,
char **  __restrict
 
IMPORT_C unsigned long strtoul const char *  __restrict,
char **  __restrict,
int 
 
IMPORT_C int system const char *   ) 
 
IMPORT_C size_t wcstombs char *  __restrict,
const wchar_t __restrict,
size_t 
 
IMPORT_C int wctomb char *  ,
wchar_t 
 

Variable Documentation

int __mb_cur_max
 

Copyright © Nokia Corporation 2001-2008
Back to top