MCPcopy Create free account
hub / github.com/GregoryFaust/samblaster / readLine

Function readLine

samblaster.cpp:378–389  ·  view source on GitHub ↗

Read a line from the file and split it.

Source from the content-addressed store, hash-verified

376
377// Read a line from the file and split it.
378splitLine_t * readLine(FILE * input)
379{
380 splitLine_t * sline = getSplitLine();
381 sline->bufLen = getline(&sline->buffer, &sline->maxBufLen, input);
382 if (sline->bufLen < 1)
383 {
384 disposeSplitLines(sline);
385 return NULL;
386 }
387 splitSplitLine(sline, 12);
388 return sline;
389}
390
391inline void outputString(char * str, FILE * output)
392{

Callers 1

mainFunction · 0.85

Calls 3

getSplitLineFunction · 0.85
disposeSplitLinesFunction · 0.85
splitSplitLineFunction · 0.85

Tested by

no test coverage detected