Searched refs:ptm (Results 1 - 25 of 43) sorted by relevance

12

/openbsd-current/regress/sys/kern/ptmget/
H A Dptmget.c4 * Basic test to ensure /dev/ptm works, and what it returns
24 struct ptmget ptm; local
34 fd = open("/dev/ptm", O_RDWR);
36 err(1, "Can't open /dev/ptm");
37 if ((ioctl(fd, PTMGET, &ptm) == -1))
39 if ((tcgetattr(ptm.sfd, &ti) == -1))
41 if ((tcgetattr(ptm.cfd, &ti) == -1))
43 if ((ioctl(ptm.sfd, TIOCSTOP) == -1))
45 if ((ioctl(ptm.cfd, TIOCSTOP) == -1))
48 if ((stat(ptm
[all...]
/openbsd-current/lib/libc/stdlib/
H A Dposix_pty.c34 struct ptmget ptm; local
47 if (ioctl(fd, PTMGET, &ptm) != -1) {
48 close(ptm.sfd);
49 mfd = ptm.cfd;
/openbsd-current/lib/libutil/
H A Dpty.c73 struct ptmget ptm; local
76 * Use /dev/ptm and the PTMGET ioctl to get a properly set up and
79 if (ioctl(ptmfd, PTMGET, &ptm) == -1)
82 master = ptm.cfd;
83 slave = ptm.sfd;
88 strlcpy(name, ptm.sn, 16);
/openbsd-current/gnu/usr.bin/perl/cpan/Time-Piece/
H A DPiece.xs157 my_mini_mktime(struct tm *ptm)
164 year = 1900 + ptm->tm_year;
165 month = ptm->tm_mon;
166 mday = ptm->tm_mday;
168 if (ptm->tm_yday >= 0 && mday <= 0 && month <= 0) {
171 jday = 1 + ptm->tm_yday;
189 if ((unsigned) ptm->tm_sec <= 60) {
193 secs = ptm->tm_sec;
194 ptm->tm_sec = 0;
196 secs += 60 * ptm
[all...]
/openbsd-current/gnu/usr.bin/binutils/opcodes/
H A Dtic30-dis.c66 partemplate *ptm; member in struct:instruction
166 insn->ptm = current_optab;
183 insn->ptm = current_optab;
384 if (insn->ptm == NULL)
388 name1 = (char *) strdup (insn->ptm->name + 2);
401 switch (insn->ptm->oporder)
H A Dtic54x-dis.c466 print_parallel_instruction (info, memaddr, opcode, ptm, size)
470 const template *ptm;
474 ptm->name, ptm->operand_types, size, 0);
477 ptm->parname, ptm->paroperand_types, size, 0);
/openbsd-current/gnu/usr.bin/binutils-2.17/opcodes/
H A Dtic30-dis.c66 partemplate *ptm; member in struct:instruction
115 insn->ptm = current_optab;
135 insn->ptm = current_optab;
488 if (insn->ptm == NULL)
492 name1 = (char *) strdup (insn->ptm->name + 2);
505 switch (insn->ptm->oporder)
H A Dtic54x-dis.c466 print_parallel_instruction (info, memaddr, opcode, ptm, size)
470 const template *ptm;
474 ptm->name, ptm->operand_types, size, 0);
477 ptm->parname, ptm->paroperand_types, size, 0);
/openbsd-current/sys/arch/powerpc64/powerpc64/
H A Dconf.c115 cdev_ptm_init(NPTY,ptm), /* 5: pseudo-tty ptm device */
/openbsd-current/sys/arch/hppa/hppa/
H A Dconf.c169 cdev_ptm_init(NPTY,ptm), /* 38: pseudo-tty ptm device */
/openbsd-current/sys/arch/luna88k/luna88k/
H A Dconf.c157 cdev_ptm_init(NPTY,ptm), /* 52: pseudo-tty ptm device */
/openbsd-current/sys/arch/alpha/alpha/
H A Dconf.c192 cdev_ptm_init(NPTY,ptm), /* 55: pseudo-tty ptm device */
/openbsd-current/sys/arch/macppc/macppc/
H A Dconf.c215 cdev_ptm_init(NPTY,ptm), /* 77: pseudo-tty ptm device */
/openbsd-current/sys/arch/loongson/loongson/
H A Dconf.c191 cdev_ptm_init(NPTY,ptm), /* 52: pseudo-tty ptm device */
/openbsd-current/etc/etc.octeon/
H A DMAKEDEV45 # ptm pty master device
407 ptm)
408 M ptm c 52 0 666
456 R audio3 kstat dt bpf fuse pppac pppx hotplug ptm local wscons
/openbsd-current/etc/etc.hppa/
H A DMAKEDEV45 # ptm pty master device
434 ptm)
435 M ptm c 38 0 666
509 R audio3 kstat dt bpf fuse pppac pppx hotplug ptm local wscons
/openbsd-current/etc/etc.macppc/
H A DMAKEDEV46 # ptm pty master device
467 ptm)
468 M ptm c 77 0 666
537 R pppx hotplug ptm local wscons pci0 pci1 pci2 pci3 uall
/openbsd-current/etc/etc.loongson/
H A DMAKEDEV44 # ptm pty master device
436 ptm)
437 M ptm c 52 0 666
485 R kstat dt bpf fuse pppac pppx hotplug ptm local wscons pci0
/openbsd-current/etc/etc.armv7/
H A DMAKEDEV44 # ptm pty master device
453 ptm)
454 M ptm c 98 0 666
498 R pppac pppx hotplug ptm local wscons pci0 pci1 pci2 pci3 uall
/openbsd-current/etc/etc.luna88k/
H A DMAKEDEV45 # ptm pty master device
361 ptm)
362 M ptm c 52 0 666
414 R pty0 diskmap vscsi0 ch0 kstat dt bpf fuse pppac pppx ptm
/openbsd-current/etc/etc.arm64/
H A DMAKEDEV43 # ptm pty master device
479 ptm)
480 M ptm c 81 0 666
515 R hotplug ptm local wscons pci0 pci1 pci2 pci3 uall rmidi0
/openbsd-current/etc/etc.powerpc64/
H A DMAKEDEV44 # ptm pty master device
465 ptm)
466 M ptm c 5 0 666
509 R kstat dt kcov bpf fuse pppac pppx hotplug ptm local wscons
/openbsd-current/etc/etc.riscv64/
H A DMAKEDEV43 # ptm pty master device
469 ptm)
470 M ptm c 81 0 666
505 R hotplug ptm local wscons pci0 pci1 pci2 pci3 uall rmidi0
/openbsd-current/etc/etc.landisk/
H A DMAKEDEV44 # ptm pty master device
431 ptm)
432 M ptm c 98 0 666
472 R bpf fuse pppac pppx hotplug ptm local wscons pci0 pci1 pci2
/openbsd-current/gnu/usr.bin/perl/
H A Dutil.c3813 Perl_init_tm(pTHX_ struct tm *ptm) /* see mktime, strftime and asctime */ argument
3825 Copy(my_tm, ptm, 1, struct tm);
3830 PERL_UNUSED_ARG(ptm);
3843 Perl_mini_mktime(struct tm *ptm) argument
3928 year = 1900 + ptm->tm_year;
3929 month = ptm->tm_mon;
3930 mday = ptm->tm_mday;
3944 if ((unsigned) ptm->tm_sec <= 60) {
3948 secs = ptm->tm_sec;
3949 ptm
[all...]

Completed in 404 milliseconds

12