Searched refs:_PATH_DEV (Results 1 - 25 of 51) sorted by relevance

123

/macosx-10.10.1/Heimdal-398.1.2/appl/login/
H A Dtty.c47 if (strncmp (res, _PATH_DEV, strlen(_PATH_DEV)) == 0)
48 res += strlen(_PATH_DEV);
H A Dlogin_locl.h108 #ifndef _PATH_DEV
109 #define _PATH_DEV "/dev/" macro
H A Dlogin.c707 if (strncmp (ttyn, _PATH_DEV, strlen(_PATH_DEV)) == 0)
708 tty = ttyn + strlen(_PATH_DEV);
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dttyslot.c53 if (strncmp(name, _PATH_DEV, sizeof _PATH_DEV - 1) != 0)
55 name += sizeof _PATH_DEV - 1;
H A Dttyname.c98 if (len <= sizeof(_PATH_DEV))
112 if (len <= sizeof(_PATH_DEV)) {
118 strlcpy(thrbuf, _PATH_DEV, len);
157 if ((buf = malloc(sizeof(_PATH_DEV) + MAXNAMLEN)) != NULL) {
169 return (ttyname_r(fd, buf, sizeof(_PATH_DEV) + MAXNAMLEN) == 0 ? buf : NULL);
171 return (ttyname_r(fd, buf, sizeof(_PATH_DEV) + MAXNAMLEN));
178 buf = malloc(sizeof(_PATH_DEV) + MAXNAMLEN);
204 strlcpy(buf, _PATH_DEV, sizeof(_PATH_DEV) + MAXNAMLEN);
206 buf + strlen(buf), sizeof(_PATH_DEV)
[all...]
/macosx-10.10.1/sudo-73/src/
H A Dpathnames.h35 #ifndef _PATH_DEV
36 #define _PATH_DEV "/dev/" macro
37 #endif /* _PATH_DEV */
H A Dpathnames.h.in34 #ifndef _PATH_DEV
35 #define _PATH_DEV "/dev/"
36 #endif /* _PATH_DEV */
H A Dttyname.c128 size_t len = sizeof(_PATH_DEV) + strlen(dev);
130 strlcpy(tty, _PATH_DEV, len);
300 (void)snprintf(buf, sizeof(buf), "%spts/%u", _PATH_DEV,
326 tty = sudo_ttyname_scan(_PATH_DEV, rdev, FALSE);
/macosx-10.10.1/Libc-1044.1.2/gen/
H A Ddevname.c76 char _buf[sizeof(_PATH_DEV) + MAXNAMLEN];
78 strcpy(_buf, _PATH_DEV);
80 if ((dp = opendir(_PATH_DEV)) == NULL)
84 bcopy(dirp->d_name, _buf + sizeof(_PATH_DEV) - 1,
/macosx-10.10.1/Libc-1044.1.2/include/
H A Dpaths.h92 #define _PATH_DEV "/dev/" macro
/macosx-10.10.1/libpcap-48/libpcap/Win32/Include/net/
H A Dpaths.h69 #define _PATH_DEV "/dev/" macro
/macosx-10.10.1/Libc-1044.1.2/util/
H A Dopendev.c82 _PATH_DEV, prefix, path) < PATH_MAX) {
94 _PATH_DEV, prefix, path) < PATH_MAX) {
/macosx-10.10.1/diskdev_cmds-576/fdisk.tproj/
H A Dopendev.c93 _PATH_DEV, prefix, path, 'a' + getrawpartition())
103 _PATH_DEV, prefix, path) < sizeof(namebuf)) {
/macosx-10.10.1/hfs-285/mount_hfs/
H A Doptical.c64 if (!strncmp(_PATH_DEV, name, strlen(_PATH_DEV)))
65 name += strlen(_PATH_DEV);
/macosx-10.10.1/remote_cmds-47/wall.tproj/
H A Dttymsg.c70 static char device[MAXNAMLEN] = _PATH_DEV;
79 p = device + sizeof(_PATH_DEV) - 1;
82 strlcpy(p, line, sizeof(device) - (sizeof(_PATH_DEV) - 1));
/macosx-10.10.1/remote_cmds-47/talkd.tproj/
H A Dtalkd.c106 if (chdir(_PATH_DEV) < 0) {
107 syslog(LOG_ERR, "chdir: %s: %m", _PATH_DEV);
H A Dprocess.c205 char ftty[sizeof(_PATH_DEV) - 1 + sizeof(line)];
210 (void) strcpy(ftty, _PATH_DEV);
218 (void) strcpy(ftty + sizeof(_PATH_DEV) - 1,
241 char ftty[sizeof(_PATH_DEV) - 1 + sizeof(line)];
249 (void) strcpy(ftty, _PATH_DEV);
258 (void) strcpy(ftty + sizeof(_PATH_DEV) - 1,
/macosx-10.10.1/basic_cmds-55/write/
H A Dwrite.c123 if (!strncmp(argv[1], _PATH_DEV, strlen(_PATH_DEV)))
124 argv[1] += strlen(_PATH_DEV);
239 (void)snprintf(path, sizeof(path), "%s%s", _PATH_DEV, tty);
270 (void)snprintf(path, sizeof(path), "%s%s", _PATH_DEV, tty);
/macosx-10.10.1/DiskArbitration-268/DiskArbitration/
H A DDADisk.c141 if ( strncmp( id, _PATH_DEV, strlen( _PATH_DEV ) ) == 0 )
143 disk->_device = strdup( id + strlen( _PATH_DEV ) );
339 if ( strncmp( name, _PATH_DEV, strlen( _PATH_DEV ) ) )
341 strlcpy( id, _PATH_DEV, sizeof( id ) );
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/telnetd/
H A Dtelnetd.h219 #ifndef _PATH_DEV
220 #define _PATH_DEV "/dev/" macro
/macosx-10.10.1/diskdev_cmds-576/dev_mkdb.tproj/
H A Ddev_mkdb.c114 if (chdir(_PATH_DEV))
115 err("%s: %s", _PATH_DEV, strerror(errno));
/macosx-10.10.1/adv_cmds-158/last/
H A Dlast.c399 if (!strncmp(arg, _PATH_DEV, sizeof(_PATH_DEV) - 1))
400 return (arg + sizeof(_PATH_DEV) - 1);
/macosx-10.10.1/DiskArbitration-268/diskarbitrationd/
H A DDAInternal.c514 if ( strncmp( fs->f_mntfromname, _PATH_DEV, strlen( _PATH_DEV ) ) )
530 if ( strncmp( fs->f_mntfromname, _PATH_DEV, strlen( _PATH_DEV ) ) )
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Droken-common.h127 #ifndef _PATH_DEV
128 #define _PATH_DEV "/dev/" macro
/macosx-10.10.1/mail_cmds-30/comsat/
H A Dcomsat.c223 _PATH_DEV, (int)sizeof(utp->ut_line), utp->ut_line);
224 if (strchr(tty + sizeof(_PATH_DEV) - 1, '/')) {

Completed in 215 milliseconds

123