shithub: riscv

ref: 37a5e86bf0aaffb1cdc841150ecc9c847b795e9b
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 *name1, const char *name2)
{
	errno = EMLINK;
	return -1;
}