use standard libc funcs for write_statefile()
[rofl0r-jobflow.git] / tests / getrlimit.c
blobb5e32231728188090d36ea86d9a5cf07fd750b99
1 #include <sys/resource.h>
2 #include <stdio.h>
3 int main() {
4 struct rlimit rl;
5 getrlimit(RLIMIT_AS, &rl);
6 printf("%ld, %ld", rl.rlim_cur, rl.rlim_max);
7 return 0;