ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dce-stdlib.h
Go to the documentation of this file.
1 #ifndef SIMU_STDLIB_H
2 #define SIMU_STDLIB_H
3 
4 #include <stdlib.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 long int dce_strtol (const char *nptr, char **endptr, int base);
11 long long int dce_strtoll (const char *nptr, char **endptr, int base);
12 long unsigned int dce_strtoul (const char *nptr, char **endptr, int base);
13 long long unsigned int dce_strtoull (const char *nptr, char **endptr, int base);
14 double dce_strtod (const char *nptr, char **endptr);
15 void * dce_calloc (size_t nmemb, size_t size);
16 void * dce_malloc (size_t size);
17 void dce_free (void *ptr);
18 void * dce_realloc (void *ptr, size_t size);
19 int dce_atexit (void (*function)(void));
20 char * dce_getenv (const char *name);
21 int dce_putenv (char *string);
22 int dce_setenv (const char *name, const char *value, int overwrite);
23 int dce_unsetenv (const char *name);
24 int dce_clearenv (void);
25 int dce_mkstemp (char *temp);
26 int dce_rename (const char *oldpath, const char *newpath);
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif /* SIMU_STDLIB_H */