Searched refs:infd (Results 1 - 25 of 29) sorted by relevance

12

/macosx-10.9.5/emacs-92/emacs/src/
H A Dunexenix.c101 int i, nsegs, isdata = 0, infd, outfd;
103 infd = open (a_name, O_RDONLY, 0);
104 if (infd < 0) fatal_unexec ("opening %s", a_name);
109 READ (infd, u_xexecp, sizeof (struct xexec),
112 READ (infd, u_xextp, sizeof (struct xext),
116 SEEK (infd, segpos, "seek error on %s", a_name);
119 READ (infd, u_xsegp, sizeof (struct xseg),
157 SEEK (infd, segpos, "seek error on %s", a_name);
162 copyrec (infd, outfd, sizeof (struct xseg), a_name, new_name);
166 READ (infd, u_xseg
99 int i, nsegs, isdata = 0, infd, outfd; local
[all...]
H A Dunexnext.c243 int infd,
271 if (!read_macho(infd, &the_header, &the_commands, &the_commands_len)) {
361 if (lseek(infd, the_header.sizeofcmds + sizeof(the_header),
369 if (read(infd, buf, size) != size) {
399 fstat(infd, &st);
400 if (lseek(infd, fdatasize, L_INCR) < 0) {
404 size = st.st_size - lseek(infd, 0, L_INCR);
407 if (read(infd, buf, size) != size) {
424 if (lseek(infd, extreloff, L_SET) < 0) {
433 if (read(infd,
242 unexec_doit( int infd, int outfd ) argument
476 int infd; local
[all...]
H A Dprocess.h40 Lisp_Object infd; member in struct:Lisp_Process
H A Dprocess.c391 #define DATAGRAM_CONN_P(proc) (PROCESSP (proc) && datagram_address[XINT (XPROCESS (proc)->infd)].sa != 0)
629 XSETINT (p->infd, -1);
680 int inch = XINT (p->infd);
820 else if (XINT (p->infd) >= 0)
1041 if (XINT (p->infd) >= 0)
1045 FD_CLR (XINT (p->infd), &input_wait_mask);
1046 FD_CLR (XINT (p->infd), &non_keyboard_wait_mask);
1051 FD_SET (XINT (p->infd), &input_wait_mask);
1052 FD_SET (XINT (p->infd), &non_keyboard_wait_mask);
1114 if (XINT (XPROCESS (process)->infd) <
[all...]
H A Dunexmacosx.c186 static int infd, outfd; variable
197 /* Read N bytes from infd into memory starting at address DEST.
202 return n == read (infd, dest, n);
240 /* Copy COUNT bytes from starting offset SRC in infd to starting
251 if (lseek (infd, src, SEEK_SET) != src)
260 bytes_read = read (infd, buf, bytes_to_read);
1076 if (lseek (infd, reloff, L_SET) != reloff)
1283 infd = open (infile, O_RDONLY, 0);
1284 if (infd < 0)
1292 close (infd);
[all...]
/macosx-10.9.5/cups-372.4/cups/scheduler/
H A Dtestlpd.c44 static int do_command(int outfd, int infd, const char *command);
45 static int print_job(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
46 static int print_waiting(int outfd, int infd, char *dest);
47 static int remove_job(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
48 static int status_long(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
49 static int status_short(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
210 int infd, /* I - Response file descriptor */
227 if (read(infd, &status, 1) < 1)
242 int infd, /* I - Response file descriptor */
278 if ((status = do_command(outfd, infd, comman
209 do_command(int outfd, int infd, const char *command) argument
241 print_job(int outfd, int infd, char *dest, char **args) argument
394 print_waiting(int outfd, int infd, char *dest) argument
416 remove_job(int outfd, int infd, char *dest, char **args) argument
447 status_long(int outfd, int infd, char *dest, char **args) argument
490 status_short(int outfd, int infd, char *dest, char **args) argument
[all...]
H A Dprocess.c317 int infd, /* I - Standard input file descriptor */
459 if (infd != 0)
461 if (infd < 0)
462 infd = open("/dev/null", O_RDONLY);
464 if (infd != 0)
466 dup2(infd, 0);
467 close(infd);
598 "infd=%d, outfd=%d, errfd=%d, backfd=%d, sidefd=%d, root=%d, "
600 command, argv, envp, infd, outfd, errfd, backfd, sidefd,
313 cupsdStartProcess( const char *command, char *argv[], char *envp[], int infd, int outfd, int errfd, int backfd, int sidefd, int root, void *profile, cupsd_job_t *job, int *pid) argument
H A Dcupsd.h212 char *envp[], int infd, int outfd,
H A Dcupsfilter.c75 char **envp, int infd, int outfd);
785 int infd, /* I - Stdin file descriptor */
831 if (infd != 0)
833 if (infd < 0)
834 infd = open("/dev/null", O_RDONLY);
836 if (infd > 0)
838 dup2(infd, 0);
839 close(infd);
782 exec_filter(const char *filter, char **argv, char **envp, int infd, int outfd) argument
/macosx-10.9.5/ruby-104/ruby/
H A Dgoruby.c31 int rw[2], infd; local
35 infd = dup(0);
41 dup2(infd, 0);
42 close(infd);
/macosx-10.9.5/curl-78.94.1/curl/docs/examples/
H A Dsendrecv.c32 fd_set infd, outfd, errfd; local
38 FD_ZERO(&infd);
46 FD_SET(sockfd, &infd);
54 res = select(sockfd + 1, &infd, &outfd, &errfd, &tv);
/macosx-10.9.5/mail_cmds-29/mail/
H A Dpopen.c227 run_command(cmd, mask, infd, outfd, a0, a1, a2)
230 int infd, outfd;
235 if ((pid = start_command(cmd, mask, infd, outfd, a0, a1, a2)) < 0)
242 start_command(cmd, mask, infd, outfd, a0, a1, a2)
245 int infd, outfd;
262 prepare_child(mask, infd, outfd);
271 prepare_child(nset, infd, outfd)
273 int infd, outfd;
282 if (infd >= 0)
283 dup2(infd,
[all...]
/macosx-10.9.5/zsh-60/zsh/Src/Modules/
H A Dsystem.c73 int infd = 0, outfd = -1, bufsize = SYSREAD_BUFSIZE, count; local
78 infd = getposint(OPT_ARG(ops, 'i'), nam);
79 if (infd < 0)
135 poll_fd.fd = infd;
162 FD_SET(infd, &fds);
176 while ((ret = select(infd+1, (SELECT_ARG_2_T) &fds,
189 while ((count = read(infd, inbuf, bufsize)) < 0) {
/macosx-10.9.5/curl-78.94.1/curl/src/
H A Dtool_operate.c528 int infd; local
543 infd = STDIN_FILENO;
710 infd = open(uploadfile, O_RDONLY | O_BINARY);
711 if((infd == -1) || fstat(infd, &fileinfo)) {
713 if(infd != -1) {
714 close(infd);
715 infd = STDIN_FILENO;
754 DEBUGASSERT(infd == STDIN_FILENO);
758 if(curlx_nonblock((curl_socket_t)infd, TRU
[all...]
/macosx-10.9.5/diskdev_cmds-572.1.1/edquota.tproj/
H A Dedquota.c827 readprivs(quplist, infd)
829 int infd;
838 lseek(infd, 0, L_SET);
839 fd = fdopen(dup(infd), "r");
1003 readtimes(quplist, infd)
1005 int infd;
1014 lseek(infd, 0, L_SET);
1015 fd = fdopen(dup(infd), "r");
/macosx-10.9.5/emacs-92/
H A Dunexmacosx.c186 static int infd, outfd; variable
197 /* Read N bytes from infd into memory starting at address DEST.
202 return n == read (infd, dest, n);
240 /* Copy COUNT bytes from starting offset SRC in infd to starting
251 if (lseek (infd, src, SEEK_SET) != src)
260 bytes_read = read (infd, buf, bytes_to_read);
1076 if (lseek (infd, reloff, L_SET) != reloff)
1283 infd = open (infile, O_RDONLY, 0);
1284 if (infd < 0)
1292 close (infd);
[all...]
/macosx-10.9.5/modemccl-25.1/CCLEngine/
H A DCCLEngine.c79 #define infd STDIN_FILENO macro
305 FD_SET(infd, &allset);
831 if (FD_ISSET(infd, &rset)) {
832 status = read(infd, &c, 1);
2258 if (tcgetattr(infd, &tios) < 0)
2312 tcsetattr(infd, TCSAFLUSH, &tios);
2324 if (tcgetattr(infd, &tios) < 0)
2336 tcsetattr(infd, TCSAFLUSH, &tios);
2379 if (tcgetattr(infd, &tios) >= 0) {
2382 tcsetattr(infd, TCSAFLUS
[all...]
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/sh/
H A Dpath.c1242 if(shp->infd>0 && (shp->fdstatus[shp->infd]&IOCLEX))
1243 sh_close(shp->infd);
1292 shp->infd = n;
1295 if((shp->infd = sh_open(path,O_RDONLY,0)) < 0)
1298 shp->infd = sh_iomovefd(shp->infd);
H A Dmain.c367 fdin = shp->infd;
414 shp->infd = fno;
H A Dio.c591 if(f2==shp->infd)
592 shp->infd = fd;
1446 if(sh_inuse(shp,fn) || (fn && fn==shp->infd))
/macosx-10.9.5/ppp-727.90.1/Drivers/PPPSerial/PPPSerial-plugin/
H A Dmain.c113 int serial_terminal_window(char *script, int infd, int outfd);
905 int serial_terminal_window(char *script, int infd, int outfd) argument
938 send_fd(sacc, infd);
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/threadproc/netware/
H A Dproc.c319 wire.infd = attr->child_in
/macosx-10.9.5/apr-30/apr/apr/threadproc/netware/
H A Dproc.c319 wire.infd = attr->child_in
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/include/
H A Ddefs.h168 int infd; /* input file descriptor */ \
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap/
H A Dtls_m.c897 int infd = PR_FileDesc2NativeHandle( PR_STDIN ); local
898 int isTTY = isatty( infd );
905 echoOff( infd );
910 echoOn( infd );

Completed in 342 milliseconds

12