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

Function doc_write

filter/pstops.c:2054–2064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2052 */
2053
2054static void
2055doc_write(pstops_doc_t *doc, /* I - Document information */
2056 const char *s, /* I - Data to send */
2057 size_t len) /* I - Number of bytes to send */
2058{
2059 if (!doc->slow_order)
2060 fwrite(s, 1, len, stdout);
2061
2062 if (doc->temp)
2063 cupsFileWrite(doc->temp, s, len);
2064}
2065
2066
2067/*

Callers 6

copy_dscFunction · 0.85
copy_pageFunction · 0.85
copy_prologFunction · 0.85
copy_setupFunction · 0.85
doc_printfFunction · 0.85
doc_putsFunction · 0.85

Calls 1

cupsFileWriteFunction · 0.85

Tested by

no test coverage detected