Searched refs:FAKELINK_MAGIC (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libast/comp/
H A Dfakelink.h32 #define FAKELINK_MAGIC "!<symlink>" macro
H A Dreadlink.c46 if (siz > sizeof(FAKELINK_MAGIC))
50 if (read(fd, buf, sizeof(FAKELINK_MAGIC)) == sizeof(FAKELINK_MAGIC) && !strcmp(buf, FAKELINK_MAGIC) && (n = read(fd, buf, siz)) > 0 && !buf[n - 1])
H A Dsymlink.c51 n = (write(fd, FAKELINK_MAGIC, sizeof(FAKELINK_MAGIC)) != sizeof(FAKELINK_MAGIC) || write(fd, a, n) != n) ? -1 : 0;

Completed in 1227 milliseconds