link

link -- Create a hard link

Description

int link(string target, string link);

Link() creates a hard link.

See also the symlink() to create soft links, and readlink() along with linkinfo().

Note: This function does not work on Windows systems