HomeSort by: relevance | last modified time | path
    Searched refs:ftok (Results 1 - 6 of 6) sorted by relevancy

  /src/lib/libc/gen/
ftok.c 1 /* $NetBSD: ftok.c,v 1.12 2018/07/26 00:05:28 kamil Exp $ */
30 __RCSID("$NetBSD: ftok.c,v 1.12 2018/07/26 00:05:28 kamil Exp $");
42 __weak_alias(ftok,_ftok)
46 ftok(const char *path, int id)
Makefile.inc 16 exect.c extattr.c fmtcheck.c fmtmsg.c fnmatch.c fstab.c ftok.c \
65 ftok.3 fts.3 ftw.3 \
  /src/tests/lib/libc/gen/
t_ftok.c 41 static const char *path = "ftok";
49 atf_tc_set_md_var(tc, "descr", "Test errors from ftok(3)");
54 ATF_REQUIRE(ftok("/a/b/c/d/e/f/g/h/i", key) == -1);
75 k1 = ftok(path, key);
76 k2 = ftok(hlnk, key);
77 k3 = ftok(slnk, key);
84 atf_tc_fail("ftok(3) gave different key for a hard link");
87 atf_tc_fail("ftok(3) gave different key for a symbolic link");
  /src/sys/sys/
ipc.h 146 key_t ftok(const char *, int);
  /src/tests/kernel/
t_sysv.c 154 /* Create the file, since ftok() requires it to exist! */
165 key = ftok(token_key, id);
166 ATF_REQUIRE_MSG(key != (key_t)-1, "ftok() failed");
  /src/lib/libc/include/
namespace.h 350 #define ftok _ftok macro

Completed in 23 milliseconds