repo.or.cz
/
rofl0r-jobflow.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add gitignore
[rofl0r-jobflow.git]
/
tests
/
getrlimit.c
blob
b5e32231728188090d36ea86d9a5cf07fd750b99
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
;
8
}