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

Function ifdatasync

src/dd.c:1267–1280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1265/* Restart on EINTR from fdatasync. */
1266
1267static int
1268ifdatasync (int fd)
1269{
1270 int ret;
1271
1272 do
1273 {
1274 process_signals ();
1275 ret = fdatasync (fd);
1276 }
1277 while (ret < 0 && errno == EINTR);
1278
1279 return ret;
1280}
1281
1282/* Restart on EINTR from fd_reopen. */
1283

Callers 1

synchronize_outputFunction · 0.85

Calls 1

process_signalsFunction · 0.70

Tested by

no test coverage detected