shithub: riscv

ref: 717237303d368378283ad719ee4f2c580b99fd2b
dir: /sys/src/ape/lib/ap/plan9/link.c/

View raw version
#include <unistd.h>
#include <errno.h>

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