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

Function save_buffer

src/csplit.c:423–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421 some data yet to be processed. */
422
423static void
424save_buffer (struct buffer_record *buf)
425{
426 buf->next = NULL;
427 buf->curr_line = buf->line_start;
428
429 if (head == NULL)
430 head = buf;
431 else
432 {
433 struct buffer_record *p;
434 for (p = head; p->next; p = p->next)
435 /* Do nothing. */ ;
436 p->next = buf;
437 }
438}
439
440/* Fill a buffer of input.
441

Callers 1

load_bufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected