Home
last modified time | relevance | path

Searched refs:_PATH_DEV (Results 1 – 25 of 34) sorted by relevance

12

/minix/usr.bin/write/
H A Dterm_chk.c70 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 Dwrite.c96 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 Dttyname.c83 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 Ddevname.c110 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 Dsysconf.c422 return pathconf(_PATH_DEV, _PC_NAME_MAX); in __weak_alias()
/minix/lib/libutil/
H A Dopendisk.c104 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 Dttymsg.c99 ret = snprintf(device, sizeof(device), "%s%s", _PATH_DEV, line); in ttymsg()
H A Dpidlock.c181 (void)strlcpy(ttyfile, _PATH_DEV, sizeof(ttyfile)); in checktty()
/minix/usr.bin/last/
H A Dlast.c347 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 Dpaths.h69 #define _PATH_DEV "/dev/" macro
/minix/include/
H A Dpaths.h108 #define _PATH_DEV "/dev/" macro
/minix/sbin/newfs_ext2fs/
H A Dnewfs_ext2fs.c300 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 Droken-common.h129 #ifndef _PATH_DEV
130 #define _PATH_DEV "/dev/" macro
/minix/minix/tests/
H A Dtest77.c131 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 Dsra.c462 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 Dutmp.c140 tty += sizeof(_PATH_DEV) - 1; in utmp_create()
H A Dcompat.h49 #define _PATH_DEV "/dev/" macro
H A Dcmd.c533 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 Dvnconfig.c298 if ((dirp = opendir(_PATH_DEV)) == NULL)
299 err(1, "opendir: %s", _PATH_DEV);
/minix/tests/include/
H A Dt_paths.c104 { _PATH_DEV, PATH_DIR },
/minix/usr.sbin/dev_mkdb/
H A Ddev_mkdb.c212 pathv[0] = __UNCONST(_PATH_DEV); in main()
/minix/sbin/newfs_msdos/
H A Dnewfs_msdos.c188 snprintf(buf, sizeof(buf), "%sr%s", _PATH_DEV, fname); in main()
H A Dmkfs_msdos.c778 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 Dcompat_defs.h928 #ifndef _PATH_DEV
929 #define _PATH_DEV "/dev/" macro
932 #define _PATH_DEVNULL _PATH_DEV "null"
/minix/sbin/init/
H A Dinit.c651 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()

12