mariadb/windows/tests/test-max-data.c
Rich Prohaska a245f6204c imp get_max_process_data_size on windows. addresses #1387
git-svn-id: file:///svn/toku/tokudb@8748 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:38 -04:00

16 lines
349 B
C

#define _GNU_SOURCE
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>
#include <unistd.h>
#include <assert.h>
#include <toku_portability.h>
#include <toku_os.h>
int main(void) {
uint64_t maxdata;
int r = toku_os_get_max_process_data_size(&maxdata);
assert(r == 0);
printf("maxdata=%"PRIu64"\n", maxdata);
return 0;
}