mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
a245f6204c
git-svn-id: file:///svn/toku/tokudb@8748 c7de825b-a66e-492c-adef-691d508d4ae1
16 lines
349 B
C
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;
|
|
}
|