/netbsd-current/tools/gpt/ |
H A D | opendisk.h | 3 #ifndef _PATH_DEV 4 #define _PATH_DEV "/dev/" macro
|
/netbsd-current/usr.bin/write/ |
H A D | term_chk.c | 70 i = snprintf(path, sizeof path, _PATH_DEV "%s", tty); 128 if (strncmp(mytty, _PATH_DEV, sizeof(_PATH_DEV) - 1) == 0) 129 mytty += sizeof(_PATH_DEV) - 1; 131 err(1, "%s%s", _PATH_DEV, mytty);
|
H A D | write.c | 96 if (!strncmp(argv[2], _PATH_DEV, strlen(_PATH_DEV))) 97 argv[2] += strlen(_PATH_DEV); 105 err(1, "%s%s", _PATH_DEV, argv[2]);
|
/netbsd-current/sys/arch/atari/stand/ahdilabel/ |
H A D | openraw.c | 54 snprintf (buf, MAXPATHLEN, "%sr%s%c", _PATH_DEV, name, RAW_PART + 'a');
|
/netbsd-current/lib/libc/gen/ |
H A D | ttyname.c | 83 if (strlcpy(buf, _PATH_DEV, len) >= len) 85 buf += strlen(_PATH_DEV); 86 len -= strlen(_PATH_DEV);
|
H A D | devname.c | 98 rv = snprintf(path, len, "%s%d", &_PATH_DEV_PTS[sizeof(_PATH_DEV) - 1], 110 static const char path_dev[] = _PATH_DEV;
|
/netbsd-current/sbin/slattach/ |
H A D | slattach.c | 122 if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) { 124 "%s%s", _PATH_DEV, dev);
|
/netbsd-current/usr.sbin/irdaattach/ |
H A D | irdaattach.c | 105 if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) { 107 "%s%s", _PATH_DEV, dev); 128 printf("%sirframe%d\n", _PATH_DEV, frdev);
|
/netbsd-current/usr.sbin/i2cscan/ |
H A D | i2cscan.c | 191 if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) { 192 (void)snprintf(devn, sizeof(devn), "%s%s", _PATH_DEV, dev);
|
/netbsd-current/libexec/talkd/ |
H A D | process.c | 188 char ftty[sizeof(_PATH_DEV) + sizeof(ep->line)]; 195 (void) strlcpy(ftty, _PATH_DEV, sizeof(ftty)); 205 (void)strlcpy(ftty + sizeof(_PATH_DEV) - 1, ep->line, 206 sizeof(ftty) - sizeof(_PATH_DEV) + 1);
|
H A D | talkd.c | 112 if (chdir(_PATH_DEV) < 0) { 113 syslog(LOG_ERR, "chdir: %s: %m", _PATH_DEV);
|
/netbsd-current/include/ |
H A D | paths.h | 109 #define _PATH_DEV "/dev/" macro
|
/netbsd-current/lib/libpam/modules/pam_lastlog/ |
H A D | pam_lastlog.c | 164 if (strncmp(tty, _PATH_DEV, strlen(_PATH_DEV)) == 0) 165 tty = tty + strlen(_PATH_DEV); 220 if (strncmp(tty, _PATH_DEV, strlen(_PATH_DEV)) == 0) 221 tty = tty + strlen(_PATH_DEV);
|
/netbsd-current/sbin/nvmectl/ |
H A D | devlist.c | 96 warnx("could not open "_PATH_DEV"%s\n", name);
|
/netbsd-current/external/bsd/tmux/usr.bin/tmux/ |
H A D | utempter.c | 130 ttyp = tty + sizeof(_PATH_DEV) - 1; 155 ttyp = tty + sizeof(_PATH_DEV) - 1;
|
/netbsd-current/lib/libutil/ |
H A D | opendisk.c | 96 const char *d = _PATH_DEV;
|
/netbsd-current/usr.bin/last/ |
H A D | last.c | 347 if (!strncmp(arg, _PATH_DEV, sizeof(_PATH_DEV) - 1)) 348 return (&arg[sizeof(_PATH_DEV) - 1]);
|
/netbsd-current/libexec/rpc.rusersd/ |
H A D | rusers_proc.c | 67 #ifndef _PATH_DEV 68 #define _PATH_DEV "/dev" macro 161 snprintf(dev_name, sizeof dev_name, "%s/%s", _PATH_DEV, tty);
|
/netbsd-current/sbin/newfs_ext2fs/ |
H A D | newfs_ext2fs.c | 268 len = sizeof(_PATH_DEV) - 1; 270 if (strncmp(_PATH_DEV, s1, len) == 0) 275 if (strncmp(_PATH_DEV, s2, len) == 0) {
|
/netbsd-current/usr.sbin/gpioctl/ |
H A D | gpioctl.c | 116 if (strncmp(_PATH_DEV, dev, sizeof(_PATH_DEV) - 1)) { 117 (void)snprintf(devn, sizeof(devn), "%s%s", _PATH_DEV, dev);
|
/netbsd-current/external/bsd/tmux/dist/ |
H A D | utmp.c | 140 tty += sizeof(_PATH_DEV) - 1;
|
H A D | compat.h | 113 #ifndef _PATH_DEV 114 #define _PATH_DEV "/dev/" macro
|
/netbsd-current/libexec/comsat/ |
H A D | comsat.c | 226 char tty[sizeof(_PATH_DEV) + sizeof(ep->line) + 1]; 237 (void)snprintf(tty, sizeof(tty), "%s%s", _PATH_DEV, ep->line);
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | roken-common.h | 137 #ifndef _PATH_DEV 138 #define _PATH_DEV "/dev/" macro
|
/netbsd-current/sbin/badsect/ |
H A D | badsect.c | 104 size_t dl = sizeof(_PATH_DEV); 117 (void)strlcpy(name, _PATH_DEV, sizeof(name));
|