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

Function ifstat

src/dd.c:1301–1314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1299/* Restart on EINTR from fstat. */
1300
1301static int
1302ifstat (int fd, struct stat *st)
1303{
1304 int ret;
1305
1306 do
1307 {
1308 process_signals ();
1309 ret = fstat (fd, st);
1310 }
1311 while (ret < 0 && errno == EINTR);
1312
1313 return ret;
1314}
1315
1316/* Restart on EINTR from fsync. */
1317

Callers 4

skipFunction · 0.85
set_fd_flagsFunction · 0.85
dd_copyFunction · 0.85
mainFunction · 0.85

Calls 1

process_signalsFunction · 0.70

Tested by

no test coverage detected