MCPcopy Create free account
hub / github.com/OpenPrinting/cups / get

Method get

ppdc/ppdc-file.cxx:58–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56//
57
58int
59ppdcFile::get()
60{
61 int ch; // Character from file
62
63
64 // Return EOF if there is no open file...
65 if (!fp)
66 return (EOF);
67
68 // Get the character...
69 ch = cupsFileGetChar(fp);
70
71 // Update the line number as needed...
72 if (ch == '\n')
73 line ++;
74
75 // Return the character...
76 return (ch);
77}
78
79
80//

Callers 1

get_tokenMethod · 0.80

Calls 1

cupsFileGetCharFunction · 0.85

Tested by

no test coverage detected