#define _GNU_SOURCE #include #include #include #include #include #include #include int test_main(int argc, char *const argv[]) { uint64_t maxdata; int r = toku_os_get_max_process_data_size(&maxdata); assert(r == 0); printf("maxdata=%"PRIu64"\n", maxdata); return 0; }