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

Function new_line_control

src/csplit.c:288–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286/* Return a new, initialized line record. */
287
288static struct line *
289new_line_control (void)
290{
291 struct line *p = xmalloc (sizeof *p);
292
293 p->next = NULL;
294 clear_line_control (p);
295
296 return p;
297}
298
299/* Record LINE_START, which is the address of the start of a line
300 of length LINE_LEN in the large buffer, in the lines buffer of B. */

Callers 1

keep_new_lineFunction · 0.85

Calls 1

clear_line_controlFunction · 0.85

Tested by

no test coverage detected