Lines Matching refs:filename0
63 char filename0[40], filename1[40]; in main() local
79 sprintf(filename0, "dup202.file0.%d\n", getpid()); in main()
81 unlink(filename0); in main()
84 if ((fd0 = creat(filename0, 0666)) == -1) in main()
86 if (write(fd0, filename0, strlen(filename0)) == -1) in main()
95 if ((fd0 = open(filename0, O_RDONLY)) == -1) in main()
115 if (strcmp(buf, filename0) != 0) in main()
123 unlink(filename0); in main()
132 sprintf(filename0, "dup02.%d\n", getpid()); in main()
133 unlink(filename0); in main()
135 if ((fd0 = creat(filename0, 0666)) == -1) { in main()
179 unlink(filename0); in main()