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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/
H A Dsmbrun.c55 outfd (or discard it if outfd is NULL).
58 static int smbrun_internal(const char *cmd, int *outfd, BOOL sanitize) argument
72 if (outfd && ((*outfd = setup_out_fd()) == -1)) {
89 if (outfd) {
90 close(*outfd);
91 *outfd = -1;
117 if (outfd) {
118 close(*outfd);
193 smbrun_no_sanitize(const char *cmd, int *outfd) argument
202 smbrun(const char *cmd, int *outfd) argument
[all...]
H A Dutil.c765 ssize_t transfer_file_internal(int infd, int outfd, size_t n, ssize_t (*read_fn)(int, void *, size_t), argument
793 write_ret = (*write_fn)(outfd,buf + num_written, read_ret - num_written);
813 SMB_OFF_T transfer_file(int infd,int outfd,SMB_OFF_T n) argument
815 return (SMB_OFF_T)transfer_file_internal(infd, outfd, (size_t)n, sys_read, sys_write);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dafprun.c160 outfd (or discard it if outfd is NULL).
163 int afprun(int root, char *cmd, int *outfd) argument
170 if (outfd && ((*outfd = setup_out_fd()) == -1)) {
179 if (outfd) {
180 close(*outfd);
181 *outfd = -1;
203 if (outfd) {
204 close(*outfd);
[all...]
H A Dvolume.c71 extern int afprun(int root, char *cmd, int *outfd);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/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);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/misc/
H A Dlnstat.h40 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files);
H A Dlnstat_util.c278 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files) argument
285 fprintf(outfd, "%s:\n", lf->path);
288 fprintf(outfd, "\t%2u: %s\n", i+1, lf->fields[i].name);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/firmware/
H A Dihex2fw.c54 static int output_records(int outfd);
71 int infd, outfd; local
112 outfd = 1;
114 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644);
115 if (outfd == -1) {
123 output_records(outfd);
251 static int output_records(int outfd) argument
261 write(outfd, &p->addr, writelen);
266 write(outfd, zeroes, 6);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/libncftp/
H A Dio_list.c38 FTPList(const FTPCIPtr cip, const int outfd, const int longMode, const char *const lsflag) argument
95 (void) write(outfd, line, (write_size_t) strlen(line));
129 (void) write(outfd, line, (write_size_t) strlen(line));
H A Dncftp.h901 int FTPList(const FTPCIPtr cip, const int outfd, const int longMode, const char *const lsflag);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/contrib/pppgetpass/
H A Dpppgetpass.gtk.c17 int outfd; variable
34 if((wrote=write(outfd, pass, passlen))!=passlen) {
55 outfd=atoi(argv[3]);
H A Dpppgetpass.vt.c28 int outfd, passlen; local
189 outfd=atoi(argv[3]);
190 if((wrote=write(outfd, pass, passlen))!=passlen) {
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/contrib/pppgetpass/
H A Dpppgetpass.gtk.c17 int outfd; variable
34 if((wrote=write(outfd, pass, passlen))!=passlen) {
55 outfd=atoi(argv[3]);
H A Dpppgetpass.vt.c28 int outfd, passlen; local
189 outfd=atoi(argv[3]);
190 if((wrote=write(outfd, pass, passlen))!=passlen) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/printing/
H A Dprint_generic.c33 const char *command, int *outfd, ...)
39 va_start(ap, outfd);
67 ret = smbrun_no_sanitize(syscmd,outfd);
32 print_run_command(int snum, const char* printername, BOOL do_sub, const char *command, int *outfd, ...) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/
H A Dclose.c54 int tmp_fd, outfd; local
71 outfd = open(magic_output, O_CREAT|O_EXCL|O_RDWR, 0600);
72 if (outfd == -1) {
79 close(outfd);
83 transfer_file(tmp_fd,outfd,(SMB_OFF_T)st.st_size);
85 close(outfd);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/stf/
H A Dcomfychair.py219 outfd = os.open('%d.out' % pid, openmode, 0666)
220 os.dup2(outfd, 1)
221 os.close(outfd)
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/
H A Difupdown.c1001 int infd[2], outfd[2]; local
1016 if (pipe(outfd) != 0) {
1027 close(outfd[0]);
1028 close(outfd[1]);
1032 dup2(outfd[1], 1);
1035 close(outfd[0]);
1036 close(outfd[1]);
1041 *out = fdopen(outfd[0], "r");
1043 close(outfd[1]);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/
H A Dmain.c1639 safe_fork(int infd, int outfd, int errfd) argument
1675 /* make sure infd, outfd and errfd won't get tromped on below */
1678 if (outfd == 0 || outfd == 2)
1679 outfd = dup(outfd);
1686 if (outfd != 1)
1687 dup2(outfd, 1);
1702 if (outfd != 1)
1703 close(outfd);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/macos/source/
H A Dmacos.c310 short outfd, fDataFork = true; local
344 if ((outfd = maccreat(G.filename)) != -1) {
345 outfd = macopen(G.filename, (fDataFork) ? 1 : 2);
348 if (outfd == -1) {
354 G.outfile = (FILE *)outfd;

Completed in 232 milliseconds