X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=support%2Fstdlib.c;h=56df107016f6d1c4affdf29d4d81ecf3ab27e4a7;hb=e698ebe6355598c0a4a52338dd5cacfce2a2d9d7;hp=d29c57b0fefd03dbf0392e4da320d7e540a675aa;hpb=0abc2e6270020edc4a5b4c66f93b4ae582815f20;p=mono.git diff --git a/support/stdlib.c b/support/stdlib.c index d29c57b0fef..56df107016f 100644 --- a/support/stdlib.c +++ b/support/stdlib.c @@ -4,15 +4,40 @@ * Authors: * Jonathan Pryor (jonpryor@vt.edu) * - * Copyright (C) 2004 Jonathan Pryor + * Copyright (C) 2004-2005 Jonathan Pryor */ #include +#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) {