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 #if defined (ACE_HAS_BROKEN_RANDR)
00049
00050
00051 typedef u_int ACE_RANDR_TYPE;
00052 int rand_r (ACE_RANDR_TYPE seed);
00053 #else
00054 typedef u_int ACE_RANDR_TYPE;
00055 #endif
00056
00057 #if defined (DIGITAL_UNIX)
00058 extern int _Prand_r (unsigned int *seedptr);
00059 #endif
00060
00061 #if defined (ACE_LACKS_PUTENV_PROTOTYPE)
00062 int putenv (char *);
00063 #endif
00064
00065 #if defined (ACE_LACKS_MKTEMP_PROTOTYPE)
00066 char *mktemp (char *);
00067 #endif
00068
00069 #if defined (ACE_LACKS_MKSTEMP_PROTOTYPE)
00070 int mkstemp(char *);
00071 #endif
00072
00073 #ifdef __cplusplus
00074 }
00075 #endif
00076
00077 #include "ace/post.h"
00078 #endif