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

12

/macosx-10.10.1/emacs-93/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);
1080 if (lseek (infd, reloff, L_SET) != reloff)
1287 infd = open (infile, O_RDONLY, 0);
1288 if (infd < 0)
1296 close (infd);
[all...]
/macosx-10.10.1/cups-408/cups/scheduler/
H A Dtestlpd.c33 static int do_command(int outfd, int infd, const char *command);
34 static int print_job(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
35 static int print_waiting(int outfd, int infd, char *dest);
36 static int remove_job(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
37 static int status_long(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
38 static int status_short(int outfd, int infd, char *dest, char **args) __attribute__((nonnull(4)));
199 int infd, /* I - Response file descriptor */
216 if (read(infd, &status, 1) < 1)
231 int infd, /* I - Response file descriptor */
267 if ((status = do_command(outfd, infd, comman
198 do_command(int outfd, int infd, const char *command) argument
230 print_job(int outfd, int infd, char *dest, char **args) argument
383 print_waiting(int outfd, int infd, char *dest) argument
405 remove_job(int outfd, int infd, char *dest, char **args) argument
436 status_long(int outfd, int infd, char *dest, char **args) argument
479 status_short(int outfd, int infd, char *dest, char **args) argument
[all...]
H A Dprocess.c449 int infd, /* I - Standard input file descriptor */
586 if (infd != 0)
588 if (infd < 0)
591 posix_spawn_file_actions_adddup2(&actions, infd, 0);
672 if (infd != 0)
674 if (infd < 0)
675 infd = open("/dev/null", O_RDONLY);
677 if (infd != 0)
679 dup2(infd, 0);
680 close(infd);
445 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
[all...]
H A Dcupsd.h209 char *envp[], int infd, int outfd,
H A Dcupsfilter.c75 char **envp, int infd, int outfd);
813 int infd, /* I - Stdin file descriptor */
859 if (infd != 0)
861 if (infd < 0)
862 infd = open("/dev/null", O_RDONLY);
864 if (infd > 0)
866 dup2(infd, 0);
867 close(infd);
810 exec_filter(const char *filter, char **argv, char **envp, int infd, int outfd) argument
/macosx-10.10.1/ruby-106/ruby/
H A Dgoruby.c31 int rw[2], infd; local
35 infd = dup(0);
41 dup2(infd, 0);
42 close(infd);
/macosx-10.10.1/curl-83.1.2/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.10.1/mail_cmds-30/mail/
H A Dpopen.c228 run_command(cmd, mask, infd, outfd, a0, a1, a2)
231 int infd, outfd;
236 if ((pid = start_command(cmd, mask, infd, outfd, a0, a1, a2)) < 0)
243 start_command(cmd, mask, infd, outfd, a0, a1, a2)
246 int infd, outfd;
263 prepare_child(mask, infd, outfd);
272 prepare_child(nset, infd, outfd)
274 int infd, outfd;
283 if (infd >= 0)
284 dup2(infd,
[all...]
/macosx-10.10.1/apache-793/httpd/support/
H A Dfcgistarter.c58 apr_file_t *infd, *skwrapper; local
180 rv = apr_os_file_put(&infd, &oft, APR_READ | APR_WRITE, pool);
196 rv = apr_file_dup2(infd, skwrapper, pool);
202 * infd into the procattr without going through another dup2,
/macosx-10.10.1/zsh-61/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.10.1/curl-83.1.2/curl/src/
H A Dtool_operate.c468 int infd; local
483 infd = STDIN_FILENO;
658 infd = -1;
665 infd = open(uploadfile, O_RDONLY | O_BINARY);
668 infd = open(uploadfile, O_RDONLY | O_BINARY,
672 if(infd == -1)
674 infd = open(uploadfile, O_RDONLY | O_BINARY);
675 if((infd == -1) || fstat(infd, &fileinfo))
679 if(infd !
[all...]
/macosx-10.10.1/diskdev_cmds-576/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.10.1/emacs-93/
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);
1080 if (lseek (infd, reloff, L_SET) != reloff)
1287 infd = open (infile, O_RDONLY, 0);
1288 if (infd < 0)
1296 close (infd);
[all...]
/macosx-10.10.1/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.10.1/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dpath.c1275 if(shp->infd>0 && (shp->fdstatus[shp->infd]&IOCLEX))
1276 sh_close(shp->infd);
1325 shp->infd = n;
1328 if((shp->infd = sh_open(path,O_RDONLY,0)) < 0)
1331 shp->infd = sh_iomovefd(shp->infd);
H A Dmain.c347 fdin = shp->infd;
394 shp->infd = fno;
H A Dio.c600 if(f2==shp->infd)
601 shp->infd = fd;
1494 if(sh_inuse(shp,fn) || (fn && fn==shp->infd))
/macosx-10.10.1/ppp-786.1.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.10.1/apr-32/apr/apr/threadproc/netware/
H A Dproc.c319 wire.infd = attr->child_in
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/include/
H A Ddefs.h167 int infd; /* input file descriptor */ \
/macosx-10.10.1/OpenLDAP-499.27/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 212 milliseconds

12