xref: /plan9-contrib/sys/src/ape/lib/ap/plan9/link.c (revision 781103c4074deb8af160e8a0da2742ba6b29dc2b)
1 #include <unistd.h>
2 #include <errno.h>
3 
4 /*
5  * BUG: LINK_MAX==1 isn't really allowed
6  */
7 int
link(const char *,const char *)8 link(const char *, const char *)
9 {
10 	errno = EMLINK;
11 	return -1;
12 }
13