Go to the previous, next section.
int symlink(const char *src, const char *dest);
src: [in] the new link.
dest: [in] the file to point to.
Creates a symlink form src to dest. The destination does not need to exist at the time of the creation of the link.
On success, returns zero. On error, returns -1 and sets errno to
one of the following value:
EPERM: the file system does not support symlinks.
EFAULT, EACCESS, ENAMETOOLONG, ENOENT,
ENOTDIR, ENOMEM, EROFS, EEXIST,
ELOOP, ENOSPC.
Go to the previous, next section.