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

Function advance_input_offset

src/dd.c:1769–1774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1767 necessary. */
1768
1769static void
1770advance_input_offset (intmax_t offset)
1771{
1772 if (0 <= input_offset && ckd_add (&input_offset, input_offset, offset))
1773 input_offset = -1;
1774}
1775
1776/* Throw away RECORDS blocks of BLOCKSIZE bytes plus BYTES bytes on
1777 file descriptor FDESC, which is open with read permission for FILE.

Callers 3

skipFunction · 0.85
dd_copyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected