minimal realpath implementation using /proc
[musl] / src / thread / syscall_cp.c