MCPcopy Index your code
hub / github.com/coreutils/coreutils / advance_seq

Function advance_seq

src/join.c:558–565  ·  view source on GitHub ↗

Read a line from FP and add it to SEQ, as the first item if FIRST is true, else as the next. */

Source from the content-addressed store, hash-verified

556/* Read a line from FP and add it to SEQ, as the first item if FIRST is
557 true, else as the next. */
558static bool
559advance_seq (FILE *fp, struct seq *seq, bool first, int whichfile)
560{
561 if (first)
562 seq->count = 0;
563
564 return getseq (fp, seq, whichfile);
565}
566
567static void
568delseq (struct seq *seq)

Callers 1

joinFunction · 0.85

Calls 1

getseqFunction · 0.85

Tested by

no test coverage detected