MCPcopy Create free account
hub / github.com/F-Stack/f-stack / textdump_saveoff

Function textdump_saveoff

freebsd/ddb/db_textdump.c:267–272  ·  view source on GitHub ↗

* Interfaces to save and restore the dump offset, so that printers can go * back to rewrite a header if required, while avoiding their knowing about * the global layout of the blocks. * * If we ever want to support writing textdumps to tape or other * stream-oriented target, we'll need to remove this. */

Source from the content-addressed store, hash-verified

265 * stream-oriented target, we'll need to remove this.
266 */
267void
268textdump_saveoff(off_t *offsetp)
269{
270
271 *offsetp = textdump_offset;
272}
273
274void
275textdump_restoreoff(off_t offset)

Callers 2

textdump_dump_msgbufFunction · 0.85
textdump_dumpsysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected