Lines Matching defs:fprx
73 FILE *fprx = NULL, *fpc = NULL, *fpd = NULL, *fp = NULL;
358 if (fprx != NULL)
359 (void) fclose(fprx);
396 * rxfile is the X. file for the job, fprx is its stream ptr.
405 fprx = fdopen(ret = creat(rxfile, DFILEMODE), "w");
406 ASSERT(ret >= 0 && fprx != NULL, Ct_WRITE, rxfile, errno);
407 setbuf(fprx, CNULL);
408 clearerr(fprx);
410 (void) fprintf(fprx,"%c %s %s\n", X_USER, User, Myname);
412 (void) fprintf(fprx, "%c return status on success\n",
414 (void) fprintf(fprx,"%c\n", X_SENDZERO);
418 (void) fprintf(fprx, "%c don't return status on failure\n",
420 (void) fprintf(fprx,"%c\n", X_SENDNOTHING);
422 (void) fprintf(fprx, "%c return status on failure\n",
424 fprintf(fprx,"%c\n", X_NONZERO);
428 (void) fprintf(fprx, "%c return input on abnormal exit\n",
430 (void) fprintf(fprx,"%c\n", X_BRINGBACK);
434 (void) fprintf(fprx,"%c %s\n", X_MAILF, _Sfile);
437 (void) fprintf(fprx, "%c return address for status or input return\n",
439 (void) fprintf(fprx,"%c %s\n", X_RETADDR, retaddr);
442 (void) fprintf(fprx, "%c job id for status reporting\n", X_COMMENT);
443 (void) fprintf(fprx,"%c %s\n", X_JOBID, Jobid);
482 (void) fprintf(fprx, "%c %s\n", X_RQDFILE, dfile);
483 (void) fprintf(fprx, "%c %s\n", X_STDIN, dfile);
571 if (fprx != NULL)
572 (void) fclose(fprx);
592 ASSERT(fprintf(fprx, "%c %s %s\n", redir, rest,
625 (void) fprintf(fprx, "%c %s\n", X_STDIN, rest);
628 ASSERT(fprx != NULL, Ct_WRITE, rxfile, errno);
688 (void) fprintf(fprx, "%c %s\n", X_STDIN, dfile);
689 (void) fprintf(fprx, "%c %s\n", X_RQDFILE, dfile);
696 (void) fprintf(fprx, "%c %s %s\n", X_RQDFILE,
724 * arrange so that in the X. file (fprx), rest is
736 * ===== local/X.local... ===== (fprx)
766 (void) fprintf(fprx,
769 (void) fprintf(fprx, "%c %s\n", X_STDIN, dfile);
771 (void) fprintf(fprx, "%c %s/%s/%s %s\n",
803 * ===== xsys/D.xsysG.... (fprx)
857 (void) fprintf(fprx, "%c %s\n",
859 (void) fprintf(fprx, "%c %s\n", X_STDIN, dfile);
861 (void) fprintf(fprx, "%c %s %s\n", X_RQDFILE,
874 (void) fprintf(fprx, "%c %s\n", X_STDIN, rest);
886 (void) fprintf(fprx, "%c %s\n", X_CMD, cmd);
887 ASSERT(fflush(fprx) != EOF && ferror(fprx) == 0, Ct_WRITE, rxfile, errno);
888 (void) fclose(fprx); /* rxfile is ready for commit */