Searched refs:fout (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-9.3-release/usr.bin/rpcgen/
H A Drpc_sample.c87 f_print(fout, "\n\nvoid\n");
89 f_print(fout, "(char *host)\n{\n");
90 f_print(fout, "\tCLIENT *clnt;\n");
94 f_print(fout, "\t");
96 f_print(fout, "enum clnt_stat retval_%d;\n\t", ++i);
98 f_print(fout, "result_%d;\n", i);
101 f_print(fout, " *result_%d;\n",++i);
105 f_print(fout, "\t");
110 f_print(fout, "char * "); /* cannot have "void" type */
111 f_print(fout, " ");
[all...]
H A Drpc_svcout.c78 f_print(fout, "\t\txdr_%s = (xdrproc_t) xdr_%s;\n",
85 f_print(fout, "static ");
87 f_print(fout, "*");
100 f_print(fout, "%s int _rpcpmstart;", var_type);
101 f_print(fout, "\t\t/* Started by a port monitor ? */\n");
103 f_print(fout, "%s int _rpcfdtype;", var_type);
104 f_print(fout, "\n\t\t /* Whether Stream or \
109 f_print(fout, " /* States a server can be in \
111 f_print(fout, "#define\t_IDLE 0\n");
112 f_print(fout, "#defin
[all...]
H A Drpc_clntout.c66 f_print(fout,
68 f_print(fout, "static struct timeval TIMEOUT = { %d, 0 };\n",
86 f_print(fout, "\n");
89 f_print(fout, "*\n");
93 f_print(fout, "enum clnt_stat \n");
98 f_print(fout, "{\n");
101 f_print(fout, "}\n");
123 f_print(fout, "(");
128 f_print(fout, "*argp, ");
130 f_print(fout, "*
[all...]
H A Drpc_hout.c73 f_print(fout, "\n");
109 f_print(fout, "\n");
145 f_print(fout, "extern bool_t xdr_%s(XDR *, %s%s);\n", name,
176 f_print(fout, "struct %s {\n", name);
182 f_print(fout, "};\n");
183 f_print(fout, "typedef struct %s %s;\n",
186 f_print(fout, "\n");
198 f_print(fout, "struct %s {\n", name);
202 f_print(fout, "};\n");
203 f_print(fout, "typede
[all...]
H A Drpc_tblout.c76 f_print(fout, "\n");
100 f_print(fout, tbl_hdr, progvers);
106 fputs(null_entry, fout);
111 f_print(fout,
120 f_print(fout, "\n\t(char *(*)())RPCGEN_ACTION(");
127 f_print( fout, "_"); /* calls internal func */
130 f_print(fout, "),\n");
144 fputs(tbl_end, fout);
145 f_print(fout, tbl_nproc, progvers, progvers, progvers);
156 len = fprintf(fout, "\txdr
[all...]
H A Drpc_cout.c130 f_print(fout, "\n");
131 f_print(fout, "bool_t\n");
132 f_print(fout, "xdr_%s(", procname);
133 f_print(fout, "XDR *xdrs, ");
134 f_print(fout, "%s ", procname);
136 f_print(fout, "*");
137 f_print(fout, "objp)\n{\n\n");
152 f_print(fout, "\tregister long *buf;\n\n");
164 f_print(fout, "\treturn (TRUE);\n");
165 f_print(fout, "}\
[all...]
H A Drpc_main.c253 fout = stdout;
261 fout = fopen(outfile, "w");
262 if (fout == NULL) {
274 f_print(fout, "/*\n");
275 f_print(fout, " * Please do not edit this file.\n");
276 f_print(fout, " * It was generated using rpcgen.\n");
277 f_print(fout, " */\n\n");
412 f_print(fout, "#include \"%s\"\n", include);
416 f_print(fout, "#include <rpc/rpc.h>\n");
417 tell = ftell(fout);
[all...]
H A Drpc_util.c65 FILE *fout; /* file pointer of current output */ variable
173 f_print(fout, "enum ");
175 f_print(fout, "struct ");
179 f_print(fout, "bool_t ");
181 f_print(fout, "char *");
183 f_print(fout, "%s ", follow ? fixtype(type) : type);
240 f_print(fout, "%s_%s_svc", locase(pname), vnum);
246 f_print(fout, "%s_%s", locase(pname), vnum);
H A Drpc_util.h117 extern FILE *fout;
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/
H A Drcsgen.c463 register FILE *fout; local
468 if (!(fout = frewrite)) {
471 fout = fopenSafer(makedirtemp(0), FOPEN_WB);
475 fout = fdopen(fo, FOPEN_WB);
478 if (!(frewrite = fout))
486 aputc_(*Khead, fout)
487 aprintf(fout, "%s\t%s;\n", Khead + 1, Head?Head->num:"");
489 aprintf(fout, "%s\t%s;\n", Kbranch, Dbranch);
491 aputs(Kaccess, fout);
494 aprintf(fout, "\
635 register FILE *fout; local
[all...]
H A Drcssyn.c543 * Copy a clean version of the command to fout (if nonnull).
551 register FILE *fout; local
558 fout = foutfile;
571 if (fout)
572 aprintf(fout, "%c%c", SDELIM, c);
634 if (fout) {
635 aprintf(fout, "%s\n", buf);
H A Drcslex.c403 register FILE *fout; local
408 fout = foutptr;
425 if (fout)
426 aputc_(c, fout)
708 register FILE *fout; local
711 fout = stdout;
728 aputc_(c,fout)
/freebsd-9.3-release/contrib/cvs/src/
H A Dcreate_adm.c41 FILE *fout; local
94 fout = CVS_FOPEN (tmp, "w+");
95 if (fout == NULL)
132 if (fprintf (fout, "%s\n", cp) < 0)
139 if (fclose (fout) == EOF)
152 fout = CVS_FOPEN (tmp, "w+");
153 if (fout == NULL)
160 if (fclose (fout) == EOF)
H A Droot.c147 FILE *fout; local
165 fout = open_file (tmp, "w+");
166 if (fprintf (fout, "%s\n", rootdir) < 0)
168 if (fclose (fout) == EOF)
H A Dentries.c725 FILE *fout; local
741 fout = open_file (tmp, "w+");
746 if (fprintf (fout, "N%s\n", tag) < 0)
751 if (fprintf (fout, "T%s\n", tag) < 0)
757 if (fprintf (fout, "D%s\n", date) < 0)
760 if (fclose (fout) == EOF)
/freebsd-9.3-release/crypto/heimdal/lib/asn1/
H A Dasn1_gen.c52 FILE *f, *fout; local
69 fout = fopen(fnout, "w");
70 if (fout == NULL)
123 if (fwrite(p + sizeof(p) - sz , sz, 1, fout) != 1)
136 if (fwrite(pdata, datalen, 1, fout) != 1)
145 fclose(fout);
/freebsd-9.3-release/usr.bin/mail/
H A Dnames.c287 FILE *fout, *fin; local
316 (fout = Fdopen(fd, "a")) == NULL) {
326 (void)Fclose(fout);
330 fprintf(fout, "From %s %s", myname, date);
331 puthead(hp, fout,
334 (void)putc(c, fout);
336 fprintf(fout, "\n");
337 (void)fflush(fout);
338 if (ferror(fout)) {
341 (void)Fclose(fout);
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c866 FILE *fout = NULL, *din = NULL; local
977 fout = stdout;
980 fout = popen (local + 1, "w");
981 if (fout == NULL) {
987 fout = fopen (local, lmode);
988 if (fout == NULL) {
995 fstat (fileno (fout), &st) >= 0 ? &st : NULL);
1005 lseek (fileno (fout), restart_point, SEEK_SET) < 0) {
1008 (*closefunc) (fout);
1013 if ((d = write (fileno (fout), bu
[all...]
/freebsd-9.3-release/contrib/sendmail/src/
H A Dsfsasl.c352 ** fout -- the sm_io file encrypted data to be written to
361 ** The arguments "fin" and "fout" are replaced with the new
366 sfdcsasl(fin, fout, conn, tmo)
368 SM_FILE_T **fout;
395 info.fp = *fout;
408 sm_io_setinfo(*fout, SM_IO_WHAT_TIMEOUT, &tmo);
411 *fout = newout;
943 ** fout -- data output source being replaced
951 ** The arguments "fin" and "fout" are replaced with the new
953 ** The original "fin" and "fout" ar
[all...]
/freebsd-9.3-release/contrib/tnftp/src/
H A Dftp.c892 FILE *volatile fout; local
911 fout = NULL;
1010 fout = stdout;
1015 fout = popen(local + 1, "w");
1016 if (fout == NULL) {
1024 fout = fopen(local, lmode);
1025 if (fout == NULL) {
1032 if (fstat(fileno(fout), &st) != -1 && !S_ISREG(st.st_mode)) {
1051 lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
1055 c = copy_bytes(fileno(din), fileno(fout), bu
[all...]
H A Dfetch.c508 FILE *volatile fout; local
517 fin = fout = NULL;
1107 fout = stdout;
1110 fout = popen(savefile + 1, "w");
1111 if (fout == NULL) {
1118 if (fout == NULL) {
1136 fout = fopen(savefile, "a");
1138 fout = fopen(savefile, "w");
1139 if (fout == NULL) {
1231 if (fwrite(xferbuf, sizeof(char), flen, fout)
[all...]
/freebsd-9.3-release/contrib/opie/
H A Dopieftpd.c728 FILE *fout, *din; local
738 fout = fopen(name, mode);
740 if (fout == NULL) {
751 if ((c = getc(fout)) == EOF) {
760 if (fseek(fout, 0L, SEEK_CUR /* L_INCR */ ) < 0) {
765 if (lseek(fileno(fout), restart_point, SEEK_SET /* L_SET */ ) < 0) {
773 if (receive_data(din, fout) == 0) {
784 (*closefunc) (fout);
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c1138 FILE *fout, *din; local
1152 fout = fopen(name, mode);
1154 if (fout == NULL) {
1168 if ((c=getc(fout)) == EOF) {
1180 if (fseek(fout, 0L, SEEK_CUR) < 0) {
1184 } else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
1193 if (receive_data(din, fout) == 0) {
1194 if((*closefunc)(fout) < 0)
1204 (*closefunc)(fout);
/freebsd-9.3-release/lib/libedit/
H A Del.c60 el_init(const char *prog, FILE *fin, FILE *fout, FILE *ferr) argument
71 el->el_outfile = fout;
/freebsd-9.3-release/libexec/ftpd/
H A Dftpd.c1762 FILE *fout, *din; local
1792 fout = fdopen(fd, mode);
1794 fout = fopen(name, mode);
1796 if (fout == NULL) {
1809 if ((c=getc(fout)) == EOF) {
1821 if (fseeko(fout, 0, SEEK_CUR) < 0) {
1825 } else if (lseek(fileno(fout), restart_point, L_SET) < 0) {
1833 if (receive_data(din, fout) == 0) {
1845 (*closefunc)(fout);

Completed in 214 milliseconds

12