Home
last modified time | relevance | path

Searched refs:binary_transput (Results 1 – 5 of 5) sorted by relevance

/plan9/sys/src/ape/cmd/patch/
H A Dcommon.h296 XTERN int binary_transput; /* O_BINARY if binary i/o is desired */ variable
298 # define binary_transput 0 macro
H A Dinp.c232 int ifd = open (filename, O_RDONLY|binary_transput);
333 if (! (ifp = fopen (filename, binary_transput ? "rb" : "r")))
H A Dpatch.c726 binary_transput = O_BINARY; in get_some_switches()
1098 int fd = create_file (name, O_WRONLY | binary_transput, instat.st_mode);
1099 FILE *f = fdopen (fd, binary_transput ? "wb" : "w");
H A Dpch.c105 if (binary_transput)
139 pfp = fopen (filename, binary_transput ? "rb" : "r");
1811 pipefp = popen(buf, binary_transput ? "wb" : "w");
1855 FILE *ifp = fopen (TMPOUTNAME, binary_transput ? "rb" : "r");
H A DChangeLog308 Fatal error if binary_transput and stdin is a tty.
339 * pch.c (open_patch_file): Setmode stdin to binary if binary_transput.
492 (binary_transput): New var decl.