1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/apps/public/strace-4.16/getcwd.c
2024-07-22 01:58:46 -03:00

14 lines
225 B
C

#include "defs.h"
SYS_FUNC(getcwd)
{
if (exiting(tcp)) {
if (syserror(tcp))
printaddr(tcp->u_arg[0]);
else
printpathn(tcp, tcp->u_arg[0], tcp->u_rval - 1);
tprintf(", %" PRI_klu, tcp->u_arg[1]);
}
return 0;
}