projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated the minix driver
[reactos.git]
/
reactos
/
apps
/
tests
/
pteb
/
pteb.c
1
#include <stdio.h>
2
3
4
int
main
(
int
argc
,
char
*
argv
[])
5
{
6
int
x
;
7
8
printf
(
"TEB dumpper
\n
"
);
9
__asm__
(
"movl %%fs:0x18, %0
\n\t
"
10
:
"=g"
(
x
)
11
:
/* no inputs */
);
12
printf
(
"fs[0x18] %x
\n
"
,
x
);
13
return
(
0
);
14
}