fileno 96 ext/nkf/nkf1.7/nkf.c #define setbinmode(fp) setmode(fileno(fp), O_BINARY)
fileno 176 ext/socket/socket.c s = get_osfhandle(fileno(fptr->f));
fileno 237 ext/socket/socket.c if (shutdown(fileno(fptr->f), how) == -1)
fileno 253 ext/socket/socket.c shutdown(fileno(fptr->f), 0);
fileno 275 ext/socket/socket.c shutdown(fileno(fptr->f2), 1);
fileno 314 ext/socket/socket.c if (setsockopt(fileno(fptr->f), level, option, v, vlen) < 0)
fileno 336 ext/socket/socket.c if (getsockopt(fileno(fptr->f), level, option, buf, &len) < 0)
fileno 354 ext/socket/socket.c if (getsockname(fileno(fptr->f), (struct sockaddr*)buf, &len) < 0)
fileno 368 ext/socket/socket.c if (getpeername(fileno(fptr->f), (struct sockaddr*)buf, &len) < 0)
fileno 390 ext/socket/socket.c fd = fileno(f);
fileno 449 ext/socket/socket.c fd = fileno(fptr->f);
fileno 1033 ext/socket/socket.c shutdown(fileno(fptr->f), 2);
fileno 1034 ext/socket/socket.c shutdown(fileno(fptr->f2), 2);
fileno 1209 ext/socket/socket.c return s_accept(rb_cTCPSocket, fileno(fptr->f),
fileno 1223 ext/socket/socket.c return s_accept(0, fileno(fptr->f), (struct sockaddr*)&from, &fromlen);
fileno 1301 ext/socket/socket.c if (getsockname(fileno(fptr->f), (struct sockaddr*)&addr, &len) < 0)
fileno 1316 ext/socket/socket.c if (getpeername(fileno(fptr->f), (struct sockaddr*)&addr, &len) < 0)
fileno 1395 ext/socket/socket.c arg.fd = fileno(fptr->f);
fileno 1413 ext/socket/socket.c if (bind(fileno(fptr->f), res->ai_addr, res->ai_addrlen) < 0) {
fileno 1448 ext/socket/socket.c n = sendto(fileno(f), RSTRING(mesg)->ptr, RSTRING(mesg)->len, NUM2INT(flags),
fileno 1483 ext/socket/socket.c if (getsockname(fileno(fptr->f), (struct sockaddr*)&addr, &len) < 0)
fileno 1534 ext/socket/socket.c fd = fileno(valfptr->f);
fileno 1568 ext/socket/socket.c if (sendmsg(fileno(fptr->f), &msg, 0) == -1)
fileno 1606 ext/socket/socket.c thread_read_select(fileno(fptr->f));
fileno 1630 ext/socket/socket.c if (recvmsg(fileno(fptr->f), &msg, 0) == -1)
fileno 1678 ext/socket/socket.c return s_accept(rb_cUNIXSocket, fileno(fptr->f),
fileno 1692 ext/socket/socket.c return s_accept(0, fileno(fptr->f), (struct sockaddr*)&from, &fromlen);
fileno 1713 ext/socket/socket.c if (getsockname(fileno(fptr->f), (struct sockaddr*)&addr, &len) < 0)
fileno 1730 ext/socket/socket.c if (getpeername(fileno(fptr->f), (struct sockaddr*)&addr, &len) < 0)
fileno 1895 ext/socket/socket.c fd = fileno(fptr->f);
fileno 1913 ext/socket/socket.c if (bind(fileno(fptr->f), (struct sockaddr*)RSTRING(addr)->ptr, RSTRING(addr)->len) < 0)
fileno 1927 ext/socket/socket.c if (listen(fileno(fptr->f), NUM2INT(log)) < 0)
fileno 1952 ext/socket/socket.c sock2 = s_accept(rb_cSocket,fileno(fptr->f),(struct sockaddr*)buf,&len);
fileno 1967 ext/socket/socket.c sock2 = s_accept(0,fileno(fptr->f),(struct sockaddr*)buf,&len);
fileno 365 file.c return fstat(fileno(fptr->f), st);
fileno 395 file.c if (fstat(fileno(fptr->f), &st) == -1) {
fileno 925 file.c if (fstat(fileno(fptr->f), &st) == -1) {
fileno 950 file.c if (fstat(fileno(fptr->f), &st) == -1) {
fileno 975 file.c if (fstat(fileno(fptr->f), &st) == -1) {
fileno 1020 file.c if (fchmod(fileno(fptr->f), mode) == -1)
fileno 1122 file.c if (fchown(fileno(fptr->f), NUM2INT(owner), NUM2INT(group)) == -1)
fileno 1747 file.c if (ftruncate(fileno(fptr->f), NUM2OFFT(len)) < 0)
fileno 1751 file.c if (chsize(fileno(fptr->f), NUM2OFFT(len)) < 0)
fileno 1818 file.c ret = flock(fileno(fptr->f), NUM2INT(operation));
fileno 163 io.c rb_thread_wait_fd(fileno(fp));\
fileno 226 io.c rb_thread_wait_fd(fileno(fp));
fileno 256 io.c rb_thread_fd_writable(fileno(f));
fileno 334 io.c rb_io_wait_writable(fileno(f));
fileno 529 io.c if (fsync(fileno(f)) < 0)
fileno 546 io.c fd = fileno(fptr->f);
fileno 602 io.c rb_io_wait_readable(fileno(f));
fileno 623 io.c rb_thread_wait_fd(fileno(f));
fileno 639 io.c rb_thread_wait_fd(fileno(f));
fileno 685 io.c if (fstat(fileno(fptr->f), &st) == 0 && S_ISREG(st.st_mode)
fileno 823 io.c rb_thread_wait_fd(fileno(f));
fileno 890 io.c rb_thread_wait_fd(fileno(f));
fileno 1192 io.c rb_thread_wait_fd(fileno(f));
fileno 1235 io.c if (isatty(fileno(fptr->f)) == 0)
fileno 1248 io.c f2 = fileno(fptr->f2);
fileno 1254 io.c f1 = fileno(fptr->f);
fileno 1293 io.c if (fileno(fptr->f) < 3) return;
fileno 1309 io.c fd = fileno(fptr->f);
fileno 1416 io.c pos = lseek(fileno(fptr->f), NUM2OFFT(offset), whence);
fileno 1442 io.c if (!rb_thread_fd_writable(fileno(f))) {
fileno 1445 io.c n = write(fileno(f), RSTRING(str)->ptr, RSTRING(str)->len);
fileno 1469 io.c n = fileno(fptr->f);
fileno 1470 io.c rb_thread_wait_fd(fileno(fptr->f));
fileno 1472 io.c n = read(fileno(fptr->f), RSTRING(str)->ptr, RSTRING(str)->len);
fileno 1501 io.c if (fptr->f && setmode(fileno(fptr->f), O_BINARY) == -1)
fileno 1503 io.c if (fptr->f2 && setmode(fileno(fptr->f2), O_BINARY) == -1)
fileno 2219 io.c rb_thread_fd_close(fileno(fptr->f));
fileno 2231 io.c fd = fileno(fptr->f);
fileno 2235 io.c if (dup2(fileno(orig->f), fd) < 0)
fileno 2240 io.c if (dup2(fileno(orig->f), fd) < 0)
fileno 2250 io.c fd = fileno(fptr->f2);
fileno 2253 io.c if (dup2(fileno(orig->f2), fd) < 0)
fileno 2368 io.c fd = ruby_dup(fileno(orig->f));
fileno 2371 io.c if (fileno(orig->f) != fileno(orig->f2)) {
fileno 2371 io.c if (fileno(orig->f) != fileno(orig->f2)) {
fileno 2372 io.c fd = ruby_dup(fileno(orig->f2));
fileno 2609 io.c if (fileno(fptr->f) == 0 && saved_fd[0] != 0) {
fileno 2616 io.c dup2(fileno(fptr->f), 0);
fileno 2649 io.c fd = fileno(stdf);
fileno 2650 io.c if (fileno(fptr->f) == fd && saved_fd[fd] != fd) {
fileno 2657 io.c dup2(fileno(fptr->f), fd);
fileno 2844 io.c fstat(fileno(fr), &st);
fileno 2880 io.c fstat(fileno(fw), &st2);
fileno 2882 io.c fchmod(fileno(fw), st.st_mode);
fileno 2887 io.c fchown(fileno(fw), st.st_uid, st.st_gid);
fileno 3085 io.c FD_SET(fileno(fptr->f), rp);
fileno 3088 io.c FD_SET(fileno(fptr->f), &pset);
fileno 3090 io.c if (max < fileno(fptr->f)) max = fileno(fptr->f);
fileno 3090 io.c if (max < fileno(fptr->f)) max = fileno(fptr->f);
fileno 3106 io.c FD_SET(fileno(fptr->f), wp);
fileno 3107 io.c if (max < fileno(fptr->f)) max = fileno(fptr->f);
fileno 3107 io.c if (max < fileno(fptr->f)) max = fileno(fptr->f);
fileno 3109 io.c FD_SET(fileno(fptr->f2), wp);
fileno 3110 io.c if (max < fileno(fptr->f2)) max = fileno(fptr->f2);
fileno 3110 io.c if (max < fileno(fptr->f2)) max = fileno(fptr->f2);
fileno 3123 io.c FD_SET(fileno(fptr->f), ep);
fileno 3124 io.c if (max < fileno(fptr->f)) max = fileno(fptr->f);
fileno 3124 io.c if (max < fileno(fptr->f)) max = fileno(fptr->f);
fileno 3126 io.c FD_SET(fileno(fptr->f2), ep);
fileno 3127 io.c if (max < fileno(fptr->f2)) max = fileno(fptr->f2);
fileno 3127 io.c if (max < fileno(fptr->f2)) max = fileno(fptr->f2);
fileno 3153 io.c if (FD_ISSET(fileno(fptr->f), rp)
fileno 3154 io.c || FD_ISSET(fileno(fptr->f), &pset)) {
fileno 3164 io.c if (FD_ISSET(fileno(fptr->f), wp)) {
fileno 3167 io.c else if (fptr->f2 && FD_ISSET(fileno(fptr->f2), wp)) {
fileno 3177 io.c if (FD_ISSET(fileno(fptr->f), ep)) {
fileno 3180 io.c else if (fptr->f2 && FD_ISSET(fileno(fptr->f2), ep)) {
fileno 3269 io.c retval = io_cntl(fileno(fptr->f), cmd, narg, io_p);
fileno 3275 io.c if (fptr->f2 && fileno(fptr->f) != fileno(fptr->f2)) {
fileno 3275 io.c if (fptr->f2 && fileno(fptr->f) != fileno(fptr->f2)) {
fileno 3277 io.c io_cntl(fileno(fptr->f2), cmd, narg, io_p);
fileno 1508 win32/win32.c STHREAD_ONLY(_free_osfhnd(fileno(fp)));