Searched refs:fileno (Results 1 - 25 of 408) sorted by relevance

1234567891011>>

/macosx-10.10/ksh-23/ksh/src/lib/libast/stdio/
H A Dfileno.c28 NoN(fileno)
32 #undef fileno
35 fileno(Sfio_t* f)
37 STDIO_INT(f, "fileno", int, (Sfio_t*), (f))
/macosx-10.10/curl-83.1.2/curl/src/
H A Dtool_main.h32 # define STDIN_FILENO fileno(stdin)
36 # define STDOUT_FILENO fileno(stdout)
40 # define STDERR_FILENO fileno(stderr)
H A Dtool_binmode.c44 setmode(fileno(stream), O_BINARY);
/macosx-10.10/Libc-1044.1.2/stdio/FreeBSD/
H A Dfileno.c34 static char sccsid[] = "@(#)fileno.c 8.1 (Berkeley) 6/4/93";
37 __FBSDID("$FreeBSD: src/lib/libc/stdio/fileno.c,v 1.13 2008/05/05 16:03:52 jhb Exp $");
44 #undef fileno macro
48 fileno(FILE *fp) function
/macosx-10.10/ruby-106/ruby/test/-ext-/old_thread_select/
H A Dtest_old_thread_select.rb22 rc = IO.old_thread_select([r.fileno], nil, nil, 0.001)
33 rc = IO.old_thread_select(nil, nil, [r.fileno], 0.001)
46 rfds = [ r.fileno, r2.fileno ]
48 assert_equal [ r.fileno ], rfds, bug5306
57 rc = IO.old_thread_select([r.fileno], nil, nil, nil)
60 rc = IO.old_thread_select([r.fileno], [w.fileno], nil, nil)
65 rc = IO.old_thread_select([r.fileno], [w.fileno], ni
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/
H A Dlock.c59 ldap_lockf( fileno(*lfp) );
65 ldap_unlockf( fileno(*lfp) );
79 ldap_unlockf( fileno(lfp) );
/macosx-10.10/ncurses-44/ncurses/ncurses/base/
H A Dlib_initscr.c78 if (isatty(fileno(stdout))) {
80 if (fp != 0 && isatty(fileno(fp))) {
82 dup2(fileno(fp), STDOUT_FILENO);
/macosx-10.10/ruby-106/ruby/test/-ext-/wait_for_single_fd/
H A Dtest_wait_for_single_fd.rb18 rc = IO.wait_for_single_fd(w.fileno, RB_WAITFD_OUT, nil)
28 wfd = w.fileno
39 rc = IO.wait_for_single_fd(r.fileno, RB_WAITFD_IN, nil)
/macosx-10.10/emacs-93/emacs/lib-src/
H A Ddigest-doc.c42 if (!isatty (fileno (stdin)))
43 setmode (fileno (stdin), O_BINARY);
H A Dhexl.c168 if (!isatty (fileno (stdout)))
169 setmode (fileno (stdout), O_BINARY);
172 _setmode (fileno (stdout), O_BINARY);
217 if (!isatty (fileno (fp)))
218 setmode (fileno (fp), O_BINARY);
221 _setmode (fileno (fp), O_BINARY);
/macosx-10.10/libiconv-42/libiconv/srclib/
H A Dbinary-io.h25 /* The MSVC7 <stdio.h> doesn't like to be included after '#define fileno ...',
42 # undef fileno macro
43 # define fileno _fileno macro
/macosx-10.10/ruby-106/ruby/ext/openssl/
H A Druby_missing.h21 #define FPTR_TO_FD(fptr) (fileno(GetReadFile(fptr)))
/macosx-10.10/CPANInternal-159.1/Net-Telnet-3.03/t/
H A Dselect.t20 vec($bitmask='', fileno(SOCK), 1) = 1;
/macosx-10.10/Heimdal-398.1.2/appl/popper/
H A Dpop_updt.c51 ftruncate ((int)fileno(p->drop),0);
75 offset = lseek((int)fileno(p->drop),0,SEEK_END) ;
80 if ( nchar != write((int)fileno(p->drop),buffer,nchar) ) {
86 ftruncate((int)fileno(p->drop),(int)offset) ;
97 lseek((int)fileno(p->drop),0,SEEK_SET);
179 lseek((int)fileno(p->drop),offset,SEEK_SET);
181 while((nchar=read((int)fileno(p->drop),buffer,BUFSIZ)) > 0)
195 ftruncate((int)fileno(p->drop),0);
/macosx-10.10/bless-103/
H A DextractBootBlocks.c56 if(isatty(fileno(stdout))) {
78 outputsize = write(fileno(stdout), *bbHandle, size);
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dcloexec.c56 rk_cloexec(fileno(f));
/macosx-10.10/bind9-45.101/bind9/bin/confgen/unix/
H A Dos.c42 return (fchown(fileno(fd), pw->pw_uid, -1));
/macosx-10.10/uucp-11/uucp/unix/
H A Dsync.c28 o = fileno (e);
/macosx-10.10/zip-14/unzip/
H A Dpatch-unix_unix.c13 + if (fchmod(fileno(G.outfile), 0xffff & G.pInfo->file_attr))
/macosx-10.10/OpenSSH-189/openssh/
H A Dsshtty.c61 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) {
73 if (tcgetattr(fileno(stdin), &tio) == -1) {
91 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) {
/macosx-10.10/Heimdal-398.1.2/appl/login/
H A Dread_string.c83 tcgetattr(fileno(tty), &t_old);
86 tcsetattr(fileno(tty), TCSANOW, &t_new);
109 tcsetattr(fileno(tty), TCSANOW, &t_old);
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/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)
/macosx-10.10/OpenSSL098-52/src/crypto/bio/
H A Dbio_lcl.h21 #define UP_fileno fileno
/macosx-10.10/libiconv-42/libiconv/tests/
H A Dgengb18030z.c31 SET_BINARY(fileno(stdout));
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libjpeg/
H A Dcdjpeg.c154 setmode(fileno(stdin), O_BINARY);
157 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) {
172 setmode(fileno(stdout), O_BINARY);
175 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) {

Completed in 201 milliseconds

1234567891011>>