Searched refs:out_file_name (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sunpc/other/
H A Ddos2unix.c108 char *in_file_name, *out_file_name; local
119 out_file_name = (char *)0;
170 out_file_name = *argv;
192 if(!strcmp(in_file_name, out_file_name)){
194 if (access(out_file_name, 2))
195 error("%s not writable.", out_file_name);
196 strcpy(out_file_name, "/tmp/udXXXXXX");
197 tmpfd = mkstemp(out_file_name);
200 out_file_name);
206 out_stream = fopen(out_file_name, "
[all...]
H A Dunix2dos.c110 char *in_file_name, *out_file_name; local
126 out_file_name = (char *)0;
175 out_file_name = *argv;
195 if (!strcmp(in_file_name, out_file_name)) {
197 if (access(out_file_name, 2))
198 error("%s not writable.", out_file_name);
199 strcpy(out_file_name, "/tmp/udXXXXXX");
200 tmpfd = mkstemp(out_file_name);
203 out_file_name);
209 out_stream = fopen(out_file_name, "
[all...]

Completed in 57 milliseconds