Home
last modified time | relevance | path

Searched refs:ftfd (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vget.c823 static int ftfd; variable
849 if (ftfd == 0) { in setalarm()
851 while (ftfd <= 0 && ftname[7] <= '~') { in setalarm()
852 ftfd = open(ftname, 0); in setalarm()
853 if (ftfd <= 0) in setalarm()
857 if (ftfd <= 0) { /* Couldn't open a /dev/ft? */ in setalarm()
862 ioctl(ftfd, FTIOCSET, &rb); in setalarm()
880 if (ftfd > 0) { in cancelalarm()
883 ioctl(ftfd, FTIOCCANCEL, &rb); in cancelalarm()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_open.c827 int dtfd = -1, ftfd = -1, fterr = 0; in dt_vopen() local
908 ftfd = open("/dev/dtrace/provider/fasttrap", O_RDWR); in dt_vopen()
909 fterr = ftfd == -1 ? errno : 0; /* save errno from open ftfd */ in dt_vopen()
938 (void) fcntl(ftfd, F_SETFD, FD_CLOEXEC); in dt_vopen()
954 dtp->dt_ftfd = ftfd; in dt_vopen()