00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ACE_OS_INCLUDE_OS_STDLIB_H
00017 #define ACE_OS_INCLUDE_OS_STDLIB_H
00018
00019 #include "ace/pre.h"
00020
00021 #include "ace/config-lite.h"
00022
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif
00026
00027 #include "ace/os_include/os_stddef.h"
00028 #include "ace/os_include/sys/os_wait.h"
00029
00030 #if defined (ACE_HAS_ALLOCA_H)
00031 # include <alloca.h>
00032 #endif
00033
00034 #if !defined (ACE_LACKS_STDLIB_H)
00035 # include <stdlib.h>
00036 #endif
00037
00038 #if defined (ACE_VXWORKS) && !defined (__RTP__)
00039 # include <envLib.h>
00040 #endif
00041
00042
00043 #ifdef __cplusplus
00044 extern "C"
00045 {
00046 #endif
00047
00048 typedef u_int ACE_RANDR_TYPE;
00049 #if defined (ACE_HAS_BROKEN_RANDR)
00050
00051
00052 int rand_r (ACE_RANDR_TYPE seed);
00053 #else
00054 #endif
00055
00056 #if defined (DIGITAL_UNIX)
00057 extern int _Prand_r (unsigned int *seedptr);
00058 #endif
00059
00060 #if defined (ACE_LACKS_PUTENV_PROTOTYPE)
00061 int putenv (char *);
00062 #endif
00063
00064 #if defined (ACE_LACKS_MKTEMP_PROTOTYPE)
00065 char *mktemp (char *);
00066 #endif
00067
00068 #if defined (ACE_LACKS_MKSTEMP_PROTOTYPE)
00069 int mkstemp(char *);
00070 #endif
00071
00072 #ifdef __cplusplus
00073 }
00074 #endif
00075
00076 #include "ace/post.h"
00077 #endif