What is the syntax to create files symlinks in android source tree?

219 Views Asked by At

I want to create a symbolic link from /system/xbin/file to /system/bin/file_link. What do I have to write in my vendor .mk file, please?

1

There are 1 best solutions below

0
On

you can use symlink() that's within unistd.h:

#include <unistd.h>

int symlink(const char  *name1, const char *name2);