Home
last modified time | relevance | path

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

/libio/
A Dtst-mmap-fflushsync.c14 static int temp_fd; variable
22 temp_fd = create_temp_file ("tst-mmap-eofsync.", &temp_file); in do_prepare()
23 if (temp_fd == -1) in do_prepare()
27 ssize_t cc = write (temp_fd, text1, sizeof text1 - 1); in do_prepare()
69 c = write (temp_fd, text2, sizeof text2 - 1); in do_test()
A Dtst-mmap-eofsync.c14 static int temp_fd; variable
22 temp_fd = create_temp_file ("tst-mmap-eofsync.", &temp_file); in do_prepare()
23 if (temp_fd == -1) in do_prepare()
27 ssize_t cc = write (temp_fd, text1, sizeof text1 - 1); in do_prepare()
74 c = write (temp_fd, text2, sizeof text2 - 1); in do_test()
A Dtst-mmap-offend.c20 int temp_fd = create_temp_file ("tst-mmap-offend.", &temp_file); in do_prepare() local
21 if (temp_fd == -1) in do_prepare()
25 ssize_t cc = write (temp_fd, text1, sizeof text1 - 1); in do_prepare()
29 close (temp_fd); in do_prepare()
A Dtst-mmap2-eofsync.c16 static int temp_fd; variable
27 temp_fd = create_temp_file ("tst-mmap2-eofsync.", &temp_file); in do_prepare()
28 if (temp_fd == -1) in do_prepare()
32 ssize_t cc = write (temp_fd, pages, getpagesize ()); in do_prepare()
80 c = write (temp_fd, pages + pagesize, pagesize); in do_test()
115 if (ftruncate (temp_fd, pagesize) < 0) in do_test()

Completed in 7 milliseconds