c function for shell command 'ln'

I’m trying to find an equivalent c/c++ function for the shell command ln.
for example, ln -s /source /target, anyone know?

Hello.

I looked it up and I think that what you are looking for is symlink().
Check out the helpviewer topic on that and it will be self-explanatory.

Regards.

Rodney Lott

ran zhang wrote:

I’m trying to find an equivalent c/c++ function for the shell command ln.
for example, ln -s /source /target, anyone know?