Searched refs:fileno (Results 1 - 25 of 586) sorted by last modified time

1234567891011>>

/netbsd-current/tests/lib/libc/sys/
H A Dt_ptrace_wait.h727 p = mmap(0, 1, PROT_READ|PROT_WRITE, MAP_PRIVATE, fileno(fp), 0);
/netbsd-current/tests/kernel/
H A Dh_segv.c169 p = mmap(0, 1, PROT_READ|PROT_WRITE, MAP_PRIVATE, fileno(fp), 0);
/netbsd-current/usr.bin/xinstall/
H A Dxinstall.c1233 if (fcntl(fileno(metafp), F_SETLKW, &metalog_lock) == -1) {
1278 if (fcntl(fileno(metafp), F_SETLKW, &metalog_lock) == -1) {
/netbsd-current/sbin/newfs/
H A Dmkfs.c675 if (ioctl(fileno(stdout), TIOCGWINSZ, &winsize) == 0 &&
/netbsd-current/usr.bin/make/
H A Djob.c1458 if (dup2(fileno(job->cmdFILE), 0) == -1)
1608 (void)fcntl(fileno(job->cmdFILE), F_SETFD, FD_CLOEXEC);
H A Dmeta.c679 close(fileno(pbm->mfp));
873 if (fstat(fileno(fp), &fs) == 0) {
/netbsd-current/usr.bin/kdump/
H A Dkdump.c1256 if (!plain && ioctl(fileno(stderr), TIOCGWINSZ, &ws) != -1 &&
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/
H A Dgetpass.c95 if (GETATTR(fileno(fi), &ttyb) < 0)
100 if (SETATTR(fileno(fi), &ttyb) < 0)
118 if (SETATTR(fileno(fi), &ttyb) < 0)
/netbsd-current/external/public-domain/sqlite/dist/
H A Dsqlite3.c[all...]
H A Dshell.c676 ppst->reachesConsole = ( (short)isatty(fileno(pf)) );
5233 setmode(fileno(stdin), O_BINARY);
5237 setmode(fileno(stdout), O_BINARY);
/netbsd-current/sbin/newfs_ext2fs/
H A Dmke2fs.c597 if (ioctl(fileno(stdout), TIOCGWINSZ, &winsize) == 0 &&
/netbsd-current/external/mpl/bind/dist/lib/isc/
H A Dlog.c1862 /* XXXDCL NT fstat/fileno */
1864 if (fstat(fileno(FILE_STREAM(channel)),
H A Dassertions.c109 isc_backtrace_symbols_fd(tracebuf, nframes, fileno(stderr));
H A Dstdio.c137 if (fstat(fileno(f), &buf) != 0) {
148 r = fsync(fileno(f));
/netbsd-current/external/mpl/bind/dist/lib/dns/
H A Dmasterdump.c1872 posix_fadvise(fileno(f), 0, 0, POSIX_FADV_DONTNEED);
H A Ddst_api.c959 if (ftruncate(fileno(fp), 0) != 0) {
/netbsd-current/external/mpl/bind/dist/bin/tests/system/checkds/
H A Dtests_checkds.py241 s = mmap.mmap(file.fileno(), 0, access=mmap.ACCESS_READ)
/netbsd-current/external/mpl/bind/dist/tests/dns/
H A Ddst_test.c79 result = isc_file_getsizefd(fileno(fp), &size);
160 result = isc_file_getsizefd(fileno(fp), &size);
/netbsd-current/external/mpl/bind/dist/bin/confgen/
H A Dos.c37 return (fchown(fileno(fd), pw->pw_uid, -1));
/netbsd-current/usr.bin/ftp/
H A Dmain.c254 fromatty = isatty(fileno(stdin));
256 if (isatty(fileno(ttyout))) {
H A Dftp.c308 write(fileno(ttyout), "\n", 1);
322 write(fileno(ttyout), "\n", 1);
551 pfd[nfd].fd = fileno(ecin);
556 pfd[nfd].fd = fileno(din);
596 write(fileno(ttyout), msgbuf, len);
763 if (fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode)) {
788 rc = lseek(fileno(fin), restart_point, SEEK_SET);
829 c = copy_bytes(fileno(fin), fileno(dout), buf, bufsize,
1071 if (fstat(fileno(fou
[all...]
H A Dfetch.c155 int fd = fileno(fp);
1910 write(fileno(ttyout), msgbuf, len);
1926 write(fileno(ttyout), msgbuf, len);
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/unix/
H A Dstdio.c137 if (fstat(fileno(f), &buf) != 0) {
148 r = fsync(fileno(f));
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/
H A Dlog.c1854 /* XXXDCL NT fstat/fileno */
1856 if (fstat(fileno(FILE_STREAM(channel)),
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Drbt.c743 CHECK(isc_file_isplainfilefd(fileno(file)));

Completed in 976 milliseconds

1234567891011>>