Lines Matching refs:to
2 Test ftruncate() function : usage variations - truncate file to smaller size
11 /* truncate the file to smaller size and display the content */
44 echo "Error: failed to open file $filename!\n";
48 rewind($file_handle); // file pointer to 0
50 echo "-- Testing ftruncate(): truncate to smaller size and display the file content --\n";
51 /* try to truncate it and display the file content */
57 echo "File content after truncating file to $new_size size : ";
77 -- Testing ftruncate(): truncate to smaller size and display the file content --
84 -- Testing ftruncate(): truncate to smaller size and display the file content --
91 -- Testing ftruncate(): truncate to smaller size and display the file content --
98 -- Testing ftruncate(): truncate to smaller size and display the file content --
101 File content after truncating file to 15 size : string(15) "222222222222222"
106 -- Testing ftruncate(): truncate to smaller size and display the file content --
109 File content after truncating file to 15 size : string(15) "222222222222222"
114 -- Testing ftruncate(): truncate to smaller size and display the file content --
117 File content after truncating file to 15 size : string(15) "222222222222222"
122 -- Testing ftruncate(): truncate to smaller size and display the file content --
125 File content after truncating file to 15 size : string(15) "222222222222222"
130 -- Testing ftruncate(): truncate to smaller size and display the file content --
133 File content after truncating file to 15 size : string(15) "222222222222222"
138 -- Testing ftruncate(): truncate to smaller size and display the file content --
141 File content after truncating file to 15 size : string(15) "222222222222222"
146 -- Testing ftruncate(): truncate to smaller size and display the file content --
149 File content after truncating file to 15 size : string(15) "222222222222222"
154 -- Testing ftruncate(): truncate to smaller size and display the file content --
157 File content after truncating file to 15 size : string(15) "222222222222222"
162 -- Testing ftruncate(): truncate to smaller size and display the file content --
165 File content after truncating file to 15 size : string(15) "222222222222222"
170 -- Testing ftruncate(): truncate to smaller size and display the file content --
173 File content after truncating file to 15 size : string(15) "222222222222222"
178 -- Testing ftruncate(): truncate to smaller size and display the file content --
181 File content after truncating file to 15 size : string(15) "222222222222222"
186 -- Testing ftruncate(): truncate to smaller size and display the file content --
189 File content after truncating file to 15 size : string(15) "222222222222222"
194 -- Testing ftruncate(): truncate to smaller size and display the file content --
197 File content after truncating file to 15 size : string(15) "222222222222222"
202 -- Testing ftruncate(): truncate to smaller size and display the file content --
205 File content after truncating file to 15 size : string(15) "222222222222222"
210 -- Testing ftruncate(): truncate to smaller size and display the file content --
213 File content after truncating file to 15 size : string(15) "222222222222222"
218 -- Testing ftruncate(): truncate to smaller size and display the file content --
221 File content after truncating file to 15 size : string(15) "222222222222222"
226 -- Testing ftruncate(): truncate to smaller size and display the file content --
229 File content after truncating file to 15 size : string(15) "222222222222222"
234 -- Testing ftruncate(): truncate to smaller size and display the file content --
237 File content after truncating file to 15 size : string(15) "222222222222222"
242 -- Testing ftruncate(): truncate to smaller size and display the file content --
245 File content after truncating file to 15 size : string(15) "222222222222222"
250 -- Testing ftruncate(): truncate to smaller size and display the file content --
253 File content after truncating file to 15 size : string(15) "222222222222222"
258 -- Testing ftruncate(): truncate to smaller size and display the file content --
261 File content after truncating file to 15 size : string(15) "222222222222222"
268 -- Testing ftruncate(): truncate to smaller size and display the file content --
275 -- Testing ftruncate(): truncate to smaller size and display the file content --
282 -- Testing ftruncate(): truncate to smaller size and display the file content --
289 -- Testing ftruncate(): truncate to smaller size and display the file content --
292 File content after truncating file to 15 size : string(15) "line
298 -- Testing ftruncate(): truncate to smaller size and display the file content --
301 File content after truncating file to 15 size : string(15) "line
307 -- Testing ftruncate(): truncate to smaller size and display the file content --
310 File content after truncating file to 15 size : string(15) "line
316 -- Testing ftruncate(): truncate to smaller size and display the file content --
319 File content after truncating file to 15 size : string(15) "line
325 -- Testing ftruncate(): truncate to smaller size and display the file content --
328 File content after truncating file to 15 size : string(15) "line
334 -- Testing ftruncate(): truncate to smaller size and display the file content --
337 File content after truncating file to 15 size : string(15) "line
343 -- Testing ftruncate(): truncate to smaller size and display the file content --
346 File content after truncating file to 15 size : string(15) "line
352 -- Testing ftruncate(): truncate to smaller size and display the file content --
355 File content after truncating file to 15 size : string(15) "line
361 -- Testing ftruncate(): truncate to smaller size and display the file content --
364 File content after truncating file to 15 size : string(15) "line
370 -- Testing ftruncate(): truncate to smaller size and display the file content --
373 File content after truncating file to 15 size : string(15) "line
379 -- Testing ftruncate(): truncate to smaller size and display the file content --
382 File content after truncating file to 15 size : string(15) "line
388 -- Testing ftruncate(): truncate to smaller size and display the file content --
391 File content after truncating file to 15 size : string(15) "line
397 -- Testing ftruncate(): truncate to smaller size and display the file content --
400 File content after truncating file to 15 size : string(15) "line
406 -- Testing ftruncate(): truncate to smaller size and display the file content --
409 File content after truncating file to 15 size : string(15) "line
415 -- Testing ftruncate(): truncate to smaller size and display the file content --
418 File content after truncating file to 15 size : string(15) "line
424 -- Testing ftruncate(): truncate to smaller size and display the file content --
427 File content after truncating file to 15 size : string(15) "line
433 -- Testing ftruncate(): truncate to smaller size and display the file content --
436 File content after truncating file to 15 size : string(15) "line
442 -- Testing ftruncate(): truncate to smaller size and display the file content --
445 File content after truncating file to 15 size : string(15) "line
451 -- Testing ftruncate(): truncate to smaller size and display the file content --
454 File content after truncating file to 15 size : string(15) "line
460 -- Testing ftruncate(): truncate to smaller size and display the file content --
463 File content after truncating file to 15 size : string(15) "line
469 -- Testing ftruncate(): truncate to smaller size and display the file content --
472 File content after truncating file to 15 size : string(15) "line