shithub: riscv

ref: 9e8fc02528d531c922e75395b5a7037904445d4b
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;
}