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