xref: /plan9-contrib/sys/src/ape/lib/ap/plan9/link.c (revision ec59a3ddbfceee0efe34584c2c9981a5e5ff1ec4)
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