[xbuild] ToolTask - add missing api
[mono.git] / support / stdlib.c
index d29c57b0fefd03dbf0392e4da320d7e540a675aa..56df107016f6d1c4affdf29d4d81ecf3ab27e4a7 100644 (file)
@@ -4,15 +4,40 @@
  * Authors:
  *   Jonathan Pryor (jonpryor@vt.edu)
  *
- * Copyright (C) 2004 Jonathan Pryor
+ * Copyright (C) 2004-2005 Jonathan Pryor
  */
 
 #include <stdlib.h>
 
+#include "map.h"
 #include "mph.h"
 
 G_BEGIN_DECLS
 
+gint32
+Mono_Posix_Stdlib_EXIT_FAILURE (void)
+{
+       return EXIT_FAILURE;
+}
+
+gint32
+Mono_Posix_Stdlib_EXIT_SUCCESS (void)
+{
+       return EXIT_SUCCESS;
+}
+
+gint32
+Mono_Posix_Stdlib_MB_CUR_MAX (void)
+{
+       return MB_CUR_MAX;
+}
+
+gint32
+Mono_Posix_Stdlib_RAND_MAX (void)
+{
+       return RAND_MAX;
+}
+
 void*
 Mono_Posix_Stdlib_calloc (mph_size_t nmemb, mph_size_t size)
 {