MCPcopy Create free account
hub / github.com/coreutils/coreutils / ifd_reopen

Function ifd_reopen

src/dd.c:1284–1297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1282/* Restart on EINTR from fd_reopen. */
1283
1284static int
1285ifd_reopen (int desired_fd, char const *file, int flag, mode_t mode)
1286{
1287 int ret;
1288
1289 do
1290 {
1291 process_signals ();
1292 ret = fd_reopen (desired_fd, file, flag, mode);
1293 }
1294 while (ret < 0 && errno == EINTR);
1295
1296 return ret;
1297}
1298
1299/* Restart on EINTR from fstat. */
1300

Callers 1

mainFunction · 0.85

Calls 2

fd_reopenFunction · 0.85
process_signalsFunction · 0.70

Tested by

no test coverage detected