toaruos/libc/unistd/link.c

10 lines
161 B
C

#include <unistd.h>
#include <errno.h>
// TODO:
// We have a system call for this?
int link(const char *old, const char *new) {
errno = EMLINK;
return -1;
}