Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
3f0c68b05e6348619d19801caba10c6ed8eeed1d
/
.
/
exit.c
blob: aec01da18fe03b340e2115bf6645b881a4ad2186 [
file
] [
log
] [
blame
]
#include
"defs.h"
SYS_FUNC
(
exit
)
{
if
(
exiting
(
tcp
))
{
error_msg
(
"_exit returned!"
);
return
-
1
;
}
/* special case: we stop tracing this process, finish line now */
tprintf
(
"%ld) "
,
tcp
->
u_arg
[
0
]);
tabto
();
tprints
(
"= ?\n"
);
line_ended
();
return
0
;
}