creating soft links

i'm trying to write a c code to copy a soft link over to a specified directory. Is it possible to do this without using symlink()?

if so, what can I use?

Thanks!

Use man rename (POSIX).

thanks