A symbolic link name2 is created to
name1 (name2
is the name of the file created, name1 is the
string used in creating the symbolic link). Either name may be an arbitrary
path name; the files need not be on the same file system.

The symlinkat() system call is equivalent to
symlink() except in the case where
name2 specifies a relative path. In this case
the symbolic link is created relative to the directory associated with the
file descriptor fd instead of the current
working directory. If symlinkat() is passed
the special value AT_FDCWD in the
fd parameter, the current working directory
is used and the behavior is identical to a call to
symlink().