Searched refs:outfd (Results 1 - 25 of 26) sorted by relevance

12

/macosx-10.9.5/emacs-92/emacs/src/
H A Dunexenix.c101 int i, nsegs, isdata = 0, infd, outfd;
106 outfd = creat (new_name, 0666);
107 if (outfd < 0) fatal_unexec ("creating %s", new_name);
153 WRITE (outfd, u_xexecp, sizeof (struct xexec),
155 WRITE (outfd, u_xextp, sizeof (struct xext),
158 SEEK (outfd, segpos, "seek error on %s", new_name);
162 copyrec (infd, outfd, sizeof (struct xseg), a_name, new_name);
170 WRITE (outfd, u_xsegp, sizeof (struct xseg),
181 WRITE (outfd, u_xsegp, sizeof (struct xseg),
186 SEEK (outfd, textpo
99 int i, nsegs, isdata = 0, infd, outfd; local
[all...]
H A Dunexnext.c244 int outfd
340 if (write(outfd, &the_header,
350 if (write(outfd, the_commands[i],
373 if (write(outfd, buf, size) != size) {
384 if (write(outfd, (char *)data_address,
412 if (write(outfd, buf, size) != size) {
439 if (lseek (outfd, fdatastart + reloc_info.r_address - dataseg_vmaddr, L_SET) < 0 ) {
445 if (write(outfd, &zeroval, 1) != 1) {
451 if (write(outfd, &zeroval, 2) != 2) {
457 if (write(outfd,
477 int outfd; local
[all...]
H A Dprocess.h42 Lisp_Object outfd; member in struct:Lisp_Process
H A Dunexmacosx.c186 static int infd, outfd; variable
205 /* Write COUNT bytes from memory starting at address SRC to outfd
211 if (lseek (outfd, dest, SEEK_SET) != dest)
214 return (count == write(outfd, src, count));
217 /* Write COUNT bytes of zeros to outfd starting at offset DEST.
226 if (lseek (outfd, dest, SEEK_SET) != dest)
232 if (write (outfd, buf, bytes) != bytes)
241 offset DEST in outfd. Return true if successful, false
254 if (lseek (outfd, dest, SEEK_SET) != dest)
263 if (write (outfd, bu
[all...]
H A Dprocess.c630 XSETINT (p->outfd, -1);
681 int outch = XINT (p->outfd);
1962 XSETINT (XPROCESS (process)->outfd, outchannel);
3439 XSETINT (p->outfd, outch);
3831 outchannel = XINT (p->outfd);
3862 XSETINT (p->outfd, -1);
3911 int out = XINT (XPROCESS (process)->outfd);
4157 XSETINT (p->outfd, s);
5175 proc_encode_coding_system[p->outfd] surely points to a
5176 valid memory because p->outfd wil
5563 int outfd = XINT (p->outfd); local
[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)));
209 do_command(int outfd, /* I - Command file descriptor */ argument
221 if (write(outfd, command, len) < len)
241 print_job(int outfd, /* I - Command file descriptor */ argument
278 if ((status = do_command(outfd, inf
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.c318 int outfd, /* I - Standard output file descriptor */
471 if (outfd != 1)
473 if (outfd < 0)
474 outfd = open("/dev/null", O_WRONLY);
476 if (outfd != 1)
478 dup2(outfd, 1);
479 close(outfd);
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);
786 int outfd) /* I - Stdout file descriptor */
843 if (outfd != 1)
845 if (outfd < 0)
846 outfd = open("/dev/null", O_WRONLY);
848 if (outfd > 1)
850 dup2(outfd, 1);
851 close(outfd);
782 exec_filter(const char *filter, char **argv, char **envp, int infd, int outfd) argument
/macosx-10.9.5/curl-78.94.1/curl/docs/examples/
H A Dsendrecv.c32 fd_set infd, outfd, errfd; local
39 FD_ZERO(&outfd);
50 FD_SET(sockfd, &outfd);
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;
284 if (outfd >= 0)
285 dup2(outfd,
[all...]
/macosx-10.9.5/zsh-60/zsh/Src/Modules/
H A Dsystem.c73 int infd = 0, outfd = -1, bufsize = SYSREAD_BUFSIZE, count; local
89 outfd = getposint(OPT_ARG(ops, 'o'), nam);
90 if (outfd < 0)
198 if (outfd >= 0) {
204 ret = write(outfd, inbuf, count);
241 int outfd = 1, len, count, totcount; local
246 outfd = getposint(OPT_ARG(ops, 'o'), nam);
247 if (outfd < 0)
263 while ((count = write(outfd, *args, len)) < 0) {
/macosx-10.9.5/cctools-845/misc/
H A Dsegedit.c493 int outfd, sectfd; local
880 if((outfd = open(output, O_CREAT | O_WRONLY | O_TRUNC ,input_mode))
908 if(write(outfd, (char *)sect_addr,sp->size) !=
930 if(write(outfd,(char *)input_addr +
940 if(write(outfd, (char *)pad_addr, segs[i].padsize) !=
963 if(write(outfd, (char *)sect_addr,sp64->size) !=
985 if(write(outfd,(char *)input_addr +
995 if(write(outfd, (char *)pad_addr, segs[i].padsize) !=
1011 if(write(outfd, (char *)input_addr + segs[i].fileoff,
1026 if(write(outfd, (cha
[all...]
/macosx-10.9.5/diskdev_cmds-572.1.1/edquota.tproj/
H A Dedquota.c783 writeprivs(quplist, outfd, name, quotatype)
785 int outfd;
792 ftruncate(outfd, 0);
793 lseek(outfd, 0, L_SET);
794 if ((fd = fdopen(dup(outfd), "w")) == NULL) {
970 writetimes(quplist, outfd, quotatype)
972 int outfd;
979 ftruncate(outfd, 0);
980 lseek(outfd, 0, L_SET);
981 if ((fd = fdopen(dup(outfd), "
[all...]
/macosx-10.9.5/emacs-92/
H A Dunexmacosx.c186 static int infd, outfd; variable
205 /* Write COUNT bytes from memory starting at address SRC to outfd
211 if (lseek (outfd, dest, SEEK_SET) != dest)
214 return (count == write(outfd, src, count));
217 /* Write COUNT bytes of zeros to outfd starting at offset DEST.
226 if (lseek (outfd, dest, SEEK_SET) != dest)
232 if (write (outfd, buf, bytes) != bytes)
241 offset DEST in outfd. Return true if successful, false
254 if (lseek (outfd, dest, SEEK_SET) != dest)
263 if (write (outfd, bu
[all...]
/macosx-10.9.5/ppp-727.90.1/Drivers/L2TP/L2TP-vpn/
H A Dmain.c111 int l2tpvpn_health_check(int *outfd, int event);
279 int l2tpvpn_health_check(int *outfd, int event) argument
295 *outfd = -1;
359 *outfd = racoon_sockfd;
413 *outfd = -1;
/macosx-10.9.5/objc4-551.1/test/
H A Dtest.h228 int outfd = dup(STDOUT_FILENO); local
237 dup2(outfd, STDOUT_FILENO);
238 close(outfd);
/macosx-10.9.5/modemccl-25.1/CCLEngine/
H A DCCLEngine.c80 #define outfd STDOUT_FILENO macro
2222 tcsendbreak(outfd, len);
2313 tcsetattr(outfd, TCSAFLUSH, &tios);
2337 tcsetattr(outfd, TCSAFLUSH, &tios);
2383 tcsetattr(outfd, TCSAFLUSH, &tios);
2609 write(outfd, &SV.strBuf[1], SV.strBuf[0]);
2625 write(outfd, &SV.strBuf[SV.writeBufIndex], 1);
2938 if (tcgetattr(outfd, &tios) < 0)
2993 tcsetattr(outfd, TCSAFLUSH, &tios);
3092 close(outfd);
[all...]
/macosx-10.9.5/tcl-102/tcl/tcl/tools/
H A Dtcltk-man2html.tcl1897 set outfd [open $html/$manual(wing-file)/$manual(name).htm w]
1898 puts $outfd [htmlhead "$manual($manual(name)-title)" \
1909 puts $outfd $item
1913 puts $outfd [insert-cross-references $item]
1915 puts $outfd "</BODY></HTML>"
1916 close $outfd
/macosx-10.9.5/vim-53/src/
H A Dnetbeans.c604 static int outfd = -2; local
607 if (outfd == -3)
610 if (outfd == -2)
614 outfd = -3;
616 outfd = mch_open(file, O_WRONLY|O_CREAT|O_TRUNC, 0666);
619 if (outfd >= 0)
620 write(outfd, buf, len);
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/threadproc/netware/
H A Dproc.c323 wire.outfd = attr->child_out
/macosx-10.9.5/apr-30/apr/apr/threadproc/netware/
H A Dproc.c323 wire.outfd = attr->child_out
/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
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/sh/
H A Dxec.c3410 int outfd; local
3419 if((outfd=shp->cpipe[1]) < 10)
3424 shp->fdstatus[fd] = (shp->fdstatus[outfd]&~IOCLEX);
3425 close(outfd);
3426 shp->fdstatus[outfd] = IOCLOSE;
/macosx-10.9.5/lukemftp-13.92.1/tnftp/src/
H A Dftp.c583 * Read data from infd & write to outfd, using buf/bufsize as the temporary
592 copy_bytes(int infd, int outfd, char *buf, size_t bufsize, argument
624 outc = write(outfd, bufp, inc);

Completed in 375 milliseconds

12