hi fellows... I have a little problem, in Unix there's a library called unistd.h that have the function "link" and as its name says, creates a link of a file.... I want to use that function in windows, but i only found the "_unlink" function in the io.h library, this one removes a file ( there's an "unlink" function in Unix inside of the same library: unistd.h and it does the same thing, this is: to remove a file)... so, is there any "_link" function or something? i also found the "_creat" function inside of io.h, but only creates an empty file... please help :( thanks!!

http://en.wikipedia.org/wiki/Hard_link
With some digging, you might find the Win32 API call which lies behind say

C:\>mklink /?
Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    specifies the new symbolic link name.
        Target  specifies the path (relative or absolute) that the new link
                refers to.