repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add missing zstd.h to coregrind Makefile.am noinst_HEADERS
[valgrind.git]
/
memcheck
/
tests
/
solaris
/
scalar_uuidsys.c
blob
fb6abc21f999fe45139b75e093fe06789ed94c0f
1
/* Test for uuidsys syscall which is available on newer Solaris. */
2
3
#include
"scalar.h"
4
5
int
main
(
void
)
6
{
7
/* Uninitialised, but we know px[0] is 0x0. */
8
long
*
px
=
malloc
(
sizeof
(
long
));
9
x0
=
px
[
0
];
10
11
/* SYS_uuidsys 124 */
12
GO
(
SYS_uuidsys
,
"1s 1m"
);
13
SY
(
SYS_uuidsys
,
x0
+
1
);
FAIL
;
14
15
return
0
;
16
}
17