Searched defs:ftfd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vget.c822 static int ftfd; variable
848 if (ftfd == 0) {
850 while (ftfd <= 0 && ftname[7] <= '~') {
851 ftfd = open(ftname, 0);
852 if (ftfd <= 0)
856 if (ftfd <= 0) { /* Couldn't open a /dev/ft? */
861 ioctl(ftfd, FTIOCSET, &rb);
879 if (ftfd > 0) {
882 ioctl(ftfd, FTIOCCANCEL, &rb);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_open.c823 int dtfd = -1, ftfd = -1, fterr = 0; local
904 ftfd = open("/dev/dtrace/provider/fasttrap", O_RDWR);
905 fterr = ftfd == -1 ? errno : 0; /* save errno from open ftfd */
934 (void) fcntl(ftfd, F_SETFD, FD_CLOEXEC);
950 dtp->dt_ftfd = ftfd;

Completed in 82 milliseconds