Home
last modified time | relevance | path

Searched refs:tempfile1 (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/fs/stream/
Dstream02.c45 char tempfile1[40] = ""; variable
66 sprintf(tempfile1, "stream1.%d", getpid()); in main()
69 if (mknod(tempfile1, (S_IFIFO | 0666), 0) != 0) { in main()
75 if ((stream = fopen(tempfile1, "w+")) == NULL) { in main()
77 tempfile1, strerror(errno)); in main()
82 if ((stream = fopen(tempfile1, "a+")) == NULL) { in main()
83 tst_resm(TFAIL, "fopen(%s) a+ failed: %s", tempfile1, in main()
88 unlink(tempfile1); in main()
Dstream01.c46 char tempfile1[40] = ""; variable
66 sprintf(tempfile1, "stream011.%d", getpid()); in main()
70 if ((stream = fopen(tempfile1, "a+")) == NULL) { in main()
72 tempfile1, in main()
84 if ((stream = fopen(tempfile1, "r")) == NULL) { in main()
86 tempfile1); in main()
93 tempfile1); in main()
121 unlink(tempfile1); in main()
Dstream04.c48 char tempfile1[40] = ""; variable
72 sprintf(tempfile1, "stream04.%d", getpid()); in main()
75 if ((stream = fopen(tempfile1, "a+")) == NULL) { in main()
77 tempfile1); in main()
94 if ((stream = fopen(tempfile1, "r+")) == NULL) { in main()
95 tst_brkm(TFAIL, tst_rmdir, "fopen(%s) r+ failed: %s", tempfile1, in main()
120 unlink(tempfile1); in main()
Dstream03.c47 char tempfile1[40] = ""; variable
68 sprintf(tempfile1, "stream03.%d", getpid()); in main()
72 if ((stream = fopen(tempfile1, "a+")) == NULL) { in main()
74 tempfile1, in main()
180 unlink(tempfile1); in main()
183 if ((stream = fopen(tempfile1, "a+")) == NULL) { in main()
185 tempfile1, in main()
292 unlink(tempfile1); in main()