summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/ap/plan9/link.c
blob: 9bf3755fb0426f12e101f74ea05067a20daf87e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <unistd.h>
#include <errno.h>

/*
 * BUG: LINK_MAX==1 isn't really allowed
 */
int
link(const char *name1, const char *name2)
{
	errno = EMLINK;
	return -1;
}