xref: /plan9-contrib/sys/src/ape/lib/ap/plan9/link.c (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
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 *name1, const char *name2)
9 {
10 	errno = EMLINK;
11 	return -1;
12 }
13