Sign in
zircon-guest
/
third_party
/
toybox
/
11586a93b54c4c87d7ee5023aa62c34406b9336a
/
.
/
toys
/
pwd.c
blob: f5f04e8366139fe9afe100d1249c1717dacc92dd [
file
] [
log
] [
blame
]
/* vi: set sw=4 ts=4: */
/*
* pwd.c - Print working directory.
*/
#include
"toys.h"
void
pwd_main
(
void
)
{
char
*
pwd
=
xgetcwd
();
xprintf
(
"%s\n"
,
pwd
);
if
(
CFG_TOYBOX_FREE
)
free
(
pwd
);
}