../../test/run-fcntl-deadlock.c: In function ‘main’:
../../test/run-fcntl-deadlock.c:122:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
122 | pipe(pipes_1_2);
| ^~~~~~~~~~~~~~~
../../test/run-fcntl-deadlock.c:123:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
123 | pipe(pipes_2_1);
| ^~~~~~~~~~~~~~~
../../test/run-fcntl-deadlock.c: In function ‘send_char’:
../../test/run-fcntl-deadlock.c:108:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
108 | write(pipe_w, &c, 1);
| ^~~~~~~~~~~~~~~~~~~~
../../test/run-fcntl-deadlock.c: In function ‘expect_char’:
../../test/run-fcntl-deadlock.c:100:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
100 | read(pipe_r, buf, 1);
| ^~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-openflags2.c: In function ‘main’:
../../test/run-mutex-openflags2.c:138:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
138 | write(pipefd[1], &c, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-openflags2.c: In function ‘do_child’:
../../test/run-mutex-openflags2.c:44:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
44 | read(fd, &c, 1);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c: In function ‘main’:
../../test/run-mutex-trylock.c:83:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
83 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:84:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
84 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex-trylock.c:99:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
99 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:108:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
108 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:110:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
110 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c: In function ‘do_child’:
../../test/run-mutex-trylock.c:45:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:47:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
47 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:52:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
52 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c: In function ‘main’:
../../test/run-mutex-allrecord-trylock.c:81:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
81 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c:82:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
82 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c:97:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
97 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c:106:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
106 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c: In function ‘do_child’:
../../test/run-mutex-allrecord-trylock.c:45:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c:47:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
47 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c: In function ‘main’:
../../test/run-mutex-allrecord-block.c:81:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
81 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c:82:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
82 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c:97:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
97 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c:107:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
107 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c: In function ‘do_child’:
../../test/run-mutex-allrecord-block.c:45:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c:47:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
47 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c: In function ‘main’:
../../test/run-mutex-transaction1.c:117:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
117 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:118:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
118 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:133:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
133 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:158:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
158 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:166:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
166 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:167:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
167 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:175:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
175 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:186:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
186 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:187:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
187 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:200:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
200 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:201:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
201 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:215:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
215 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:216:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
216 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:229:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
229 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c: In function ‘do_child’:
../../test/run-mutex-transaction1.c:48:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
48 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:49:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
49 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:54:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
54 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:55:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
55 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:63:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
63 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:64:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
64 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:69:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
69 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:70:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
70 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:78:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
78 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:79:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
79 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:84:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
84 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:85:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
85 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c: In function ‘main’:
../../test/run-mutex1.c:92:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
92 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex1.c:93:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
93 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex1.c:108:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
108 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:114:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
114 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:115:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
115 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:126:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
126 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:127:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
127 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:128:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
128 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c: In function ‘do_child’:
../../test/run-mutex1.c:45:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:46:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
46 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:51:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
51 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:52:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
52 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:57:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
57 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:58:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
58 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Note: Writing tdbrestore.8
Note: Writing tdbdump.8
Note: Writing tdbbackup.8
Note: Writing tdbtool.8
../../test/run-fcntl-deadlock.c: In function ‘main’:
../../test/run-fcntl-deadlock.c:122:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
122 | pipe(pipes_1_2);
| ^~~~~~~~~~~~~~~
../../test/run-fcntl-deadlock.c:123:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
123 | pipe(pipes_2_1);
| ^~~~~~~~~~~~~~~
../../test/run-fcntl-deadlock.c: In function ‘send_char’:
../../test/run-fcntl-deadlock.c:108:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
108 | write(pipe_w, &c, 1);
| ^~~~~~~~~~~~~~~~~~~~
../../test/run-fcntl-deadlock.c: In function ‘expect_char’:
../../test/run-fcntl-deadlock.c:100:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
100 | read(pipe_r, buf, 1);
| ^~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-openflags2.c: In function ‘main’:
../../test/run-mutex-openflags2.c:138:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
138 | write(pipefd[1], &c, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-openflags2.c: In function ‘do_child’:
../../test/run-mutex-openflags2.c:44:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
44 | read(fd, &c, 1);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c: In function ‘main’:
../../test/run-mutex-trylock.c:83:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
83 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:84:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
84 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex-trylock.c:99:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
99 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:108:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
108 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:110:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
110 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c: In function ‘do_child’:
../../test/run-mutex-trylock.c:45:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:47:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
47 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-trylock.c:52:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
52 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c: In function ‘main’:
../../test/run-mutex-allrecord-trylock.c:81:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
81 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c:82:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
82 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c:97:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
97 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c:106:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
106 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c: In function ‘do_child’:
../../test/run-mutex-allrecord-trylock.c:45:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-trylock.c:47:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
47 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c: In function ‘main’:
../../test/run-mutex-allrecord-block.c:81:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
81 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c:82:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
82 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c:97:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
97 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c:107:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
107 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c: In function ‘do_child’:
../../test/run-mutex-allrecord-block.c:45:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-allrecord-block.c:47:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
47 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c: In function ‘main’:
../../test/run-mutex-transaction1.c:117:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
117 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:118:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
118 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:133:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
133 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:158:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
158 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:166:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
166 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:167:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
167 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:175:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
175 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:186:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
186 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:187:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
187 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:200:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
200 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:201:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
201 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:215:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
215 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:216:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
216 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:229:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
229 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c: In function ‘do_child’:
../../test/run-mutex-transaction1.c:48:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
48 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:49:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
49 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:54:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
54 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:55:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
55 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:63:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
63 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:64:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
64 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:69:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
69 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:70:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
70 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:78:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
78 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:79:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
79 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:84:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
84 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex-transaction1.c:85:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
85 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c: In function ‘main’:
../../test/run-mutex1.c:92:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
92 | pipe(fromchild);
| ^~~~~~~~~~~~~~~
../../test/run-mutex1.c:93:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
93 | pipe(tochild);
| ^~~~~~~~~~~~~
../../test/run-mutex1.c:108:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
108 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:114:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
114 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:115:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
115 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:126:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
126 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:127:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
127 | read(fromchild[0], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:128:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
128 | write(tochild[1], &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c: In function ‘do_child’:
../../test/run-mutex1.c:45:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:46:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
46 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:51:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
51 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:52:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
52 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:57:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
57 | write(to, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../test/run-mutex1.c:58:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
58 | read(from, &c, sizeof(c));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Note: Writing tdbrestore.8
Note: Writing tdbdump.8
Note: Writing tdbbackup.8
Note: Writing tdbtool.8