Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
lldb
/
a4438a727670dc08eafd86f2bc8f91fc397f1333
/
.
/
test
/
process_launch
/
print_cwd.cpp
blob: 2e88e350438882793b56bc00974cce69e8a43b70 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<unistd.h>
int
main
(
int
argc
,
char
**
argv
)
{
char
buffer
[
1024
];
fprintf
(
stdout
,
"stdout: %s\n"
,
getcwd
(
buffer
,
1024
));
fprintf
(
stderr
,
"stderr: %s\n"
,
getcwd
(
buffer
,
1024
));
return
0
;
}