/minix/usr.bin/write/ |
H A D | term_chk.c | 70 i = snprintf(path, sizeof path, _PATH_DEV "%s", tty); in term_chk() 128 if (strncmp(mytty, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0) in check_sender() 129 mytty += sizeof(_PATH_DEV) - 1; in check_sender() 131 err(1, "%s%s", _PATH_DEV, mytty); in check_sender()
|
H A D | write.c | 96 if (!strncmp(argv[2], _PATH_DEV, strlen(_PATH_DEV))) in main() 97 argv[2] += strlen(_PATH_DEV); in main() 105 err(1, "%s%s", _PATH_DEV, argv[2]); in main()
|
/minix/lib/libc/gen/ |
H A D | ttyname.c | 83 if (strlcpy(buf, _PATH_DEV, len) >= len) in __weak_alias() 85 buf += strlen(_PATH_DEV); in __weak_alias() 86 len -= strlen(_PATH_DEV); in __weak_alias()
|
H A D | devname.c | 110 rv = snprintf(path, len, "%s%d", _PATH_DEV_PTS + sizeof(_PATH_DEV) - 1, in devname_ptslookup() 126 static const char path_dev[] = _PATH_DEV; in devname_fts()
|
H A D | sysconf.c | 422 return pathconf(_PATH_DEV, _PC_NAME_MAX); in __weak_alias()
|
/minix/lib/libutil/ |
H A D | opendisk.c | 104 snprintf(buf, buflen, "%s%s%s", _PATH_DEV, iscooked ? "" : "r", path); in __opendisk() 110 snprintf(buf, buflen, "%s%s%s%c", _PATH_DEV, iscooked ? "" : "r", path, in __opendisk()
|
H A D | ttymsg.c | 99 ret = snprintf(device, sizeof(device), "%s%s", _PATH_DEV, line); in ttymsg()
|
H A D | pidlock.c | 181 (void)strlcpy(ttyfile, _PATH_DEV, sizeof(ttyfile)); in checktty()
|
/minix/usr.bin/last/ |
H A D | last.c | 347 if (!strncmp(arg, _PATH_DEV, sizeof(_PATH_DEV) - 1)) in ttyconv() 348 return (&arg[sizeof(_PATH_DEV) - 1]); in ttyconv()
|
/minix/external/bsd/libpcap/dist/Win32/Include/net/ |
H A D | paths.h | 69 #define _PATH_DEV "/dev/" macro
|
/minix/include/ |
H A D | paths.h | 108 #define _PATH_DEV "/dev/" macro
|
/minix/sbin/newfs_ext2fs/ |
H A D | newfs_ext2fs.c | 300 len = sizeof(_PATH_DEV) - 1; in main() 302 if (strncmp(_PATH_DEV, s1, len) == 0) in main() 307 if (strncmp(_PATH_DEV, s2, len) == 0) { in main()
|
/minix/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | roken-common.h | 129 #ifndef _PATH_DEV 130 #define _PATH_DEV "/dev/" macro
|
/minix/minix/tests/ |
H A D | test77.c | 131 len = strlen(_PATH_DEV); in get_pty() 132 if (strncmp(tname, _PATH_DEV, len)) e(0); in get_pty() 1015 snprintf(ptest, sizeof(ptest), _PATH_DEV "ptyp%u", n); in test77h() 1016 snprintf(ttest, sizeof(ttest), _PATH_DEV "ttyp%u", n); in test77h() 1091 snprintf(ptest, sizeof(ptest), _PATH_DEV "ptyp%u", n); in test77h() 1102 snprintf(ttest, sizeof(ttest), _PATH_DEV "ttyp%u", n); in test77h()
|
/minix/lib/libtelnet/ |
H A D | sra.c | 462 if (strncmp(ttyn, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0) in rootterm() 463 ttyn += sizeof(_PATH_DEV) - 1; in rootterm()
|
/minix/external/bsd/tmux/dist/ |
H A D | utmp.c | 140 tty += sizeof(_PATH_DEV) - 1; in utmp_create()
|
H A D | compat.h | 49 #define _PATH_DEV "/dev/" macro
|
H A D | cmd.c | 533 if (strncmp(path, _PATH_DEV, (sizeof _PATH_DEV) - 1) != 0) in cmd_lookup_client() 535 if (strcmp(name, path + (sizeof _PATH_DEV) - 1) == 0) in cmd_lookup_client()
|
/minix/usr.sbin/vnconfig/ |
H A D | vnconfig.c | 298 if ((dirp = opendir(_PATH_DEV)) == NULL) 299 err(1, "opendir: %s", _PATH_DEV);
|
/minix/tests/include/ |
H A D | t_paths.c | 104 { _PATH_DEV, PATH_DIR },
|
/minix/usr.sbin/dev_mkdb/ |
H A D | dev_mkdb.c | 212 pathv[0] = __UNCONST(_PATH_DEV); in main()
|
/minix/sbin/newfs_msdos/ |
H A D | newfs_msdos.c | 188 snprintf(buf, sizeof(buf), "%sr%s", _PATH_DEV, fname); in main()
|
H A D | mkfs_msdos.c | 778 len = strlen(_PATH_DEV); in check_mounted() 780 if (!strncmp(s1, _PATH_DEV, len)) in check_mounted() 785 if (!strncmp(s2, _PATH_DEV, len)) in check_mounted()
|
/minix/tools/compat/ |
H A D | compat_defs.h | 928 #ifndef _PATH_DEV 929 #define _PATH_DEV "/dev/" macro 932 #define _PATH_DEVNULL _PATH_DEV "null"
|
/minix/sbin/init/ |
H A D | init.c | 651 char *line = sp->se_device + sizeof(_PATH_DEV) - 1; in clear_session_logs() 1159 (void)asprintf(&sp->se_device, "%s%s", _PATH_DEV, typ->ty_name); in new_session() 1377 const char *line = sp->se_device + sizeof(_PATH_DEV) - 1; in session_utmpx() 1582 devlen = sizeof(_PATH_DEV) - 1; in clean_ttys()
|