Searched defs:file2 (Results 1 - 2 of 2) sorted by relevance

/ast/src/lib/libcmd/
H A Dcmp.c67 "\nfile1 file2 [skip1 [skip2]]\n"
145 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags, Sfoff_t count, Sfoff_t differences) argument
185 error(ERROR_exit(1), "EOF on %s", file2);
215 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u\n", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
226 sfprintf(sfstdout, "%s %s differ: char %I*d, line %I*u", file1, file2, sizeof(pos), pos - (last - p1), sizeof(lines), lines);
253 char* file2; local
313 if (error_info.errors || !(file1 = *argv++) || !(file2 = *argv++))
324 if (streq(file2, "-"))
326 else if (!(f2 = sfopen(NiL, file2, "r")))
329 error(ERROR_system(0), "%s: cannot open", file2);
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dtest.c521 static time_t test_time(const char *file1,const char *file2) argument
525 int r=test_stat(file2,&statb2);
543 int test_inode(const char *file1,const char *file2) argument
546 if(test_stat(file1,&stat1)>=0 && test_stat(file2,&stat2)>=0)

Completed in 31 milliseconds