HCoop
/
hcoop
/
debian
/
mlton.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Import Upstream version 20180207
[hcoop/debian/mlton.git]
/
runtime
/
platform
/
displayMem.proc.c
1
void
GC_displayMem
(
void
) {
2
static char
buffer
[
256
];
3
int
res
;
4
5
snprintf
(
buffer
,
cardof
(
buffer
),
"/bin/cat /proc/%d/maps
\n
"
, (
int
)(
getpid
()));
6
res
=
system
(
buffer
);
7
if
(-
1
==
res
)
8
return
;
9
}