link(2) v7 man page | unix.com

Man Page: link

Operating Environment: v7

Section: 2

LINK(2) 							System Calls Manual							   LINK(2)

NAME
link - link to a file
SYNOPSIS
link(name1, name2) char *name1, *name2;
DESCRIPTION
A link to name1 is created; the link has the name name2. Either name may be an arbitrary path name.
SEE ALSO
ln(1), unlink(2)
DIAGNOSTICS
Zero is returned when a link is made; -1 is returned when name1 cannot be found; when name2 already exists; when the directory of name2 cannot be written; when an attempt is made to link to a directory by a user other than the super-user; when an attempt is made to link to a file on another file system; when a file has too many links.
ASSEMBLER
(link = 9.) sys link; name1; name2 LINK(2)
Related Man Pages
symlink(2) - opensolaris
link(2) - ultrix
link(2) - opendarwin
linkat(2) - netbsd
link(2) - netbsd
Similar Topics in the Unix Linux Community
C Compiler
Invitation to join the UNIX Forums Users Group on LinkedIn
Incompatiblity of the code due to CC compiler version mismatch.
Slow response and thread links oddly named
Merge two strings by overlapped region