From: Michael Sweet
Filters and backends may also receive SIGPIPE
when an upstream or downstream filter/backend exits with a non-zero status. Developers should generally ignore SIGPIPE
at the beginning of main()
with the following function call:
-#include <signal.h>> +#include <signal.h> ... diff --git a/doc/help/api-filter.html b/doc/help/api-filter.html index 300c3a9ca..420dcb8a6 100644 --- a/doc/help/api-filter.html +++ b/doc/help/api-filter.html @@ -533,7 +533,7 @@ being printed.Filters and backends may also receive
SIGPIPE
when an upstream or downstream filter/backend exits with a non-zero status. Developers should generally ignoreSIGPIPE
at the beginning ofmain()
with the following function call:-#include <signal.h>> +#include <signal.h> ... diff --git a/doc/help/api-httpipp.html b/doc/help/api-httpipp.html index f67736cf7..a19850e7a 100644 --- a/doc/help/api-httpipp.html +++ b/doc/help/api-httpipp.html @@ -6337,6 +6337,8 @@ are server-oriented...
-#include <cups/raster.h>> +#include <cups/raster.h> cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ);@@ -507,7 +507,7 @@ hardware resolution, and so forth used for the page. function:
-#include <cups/raster.h>> +#include <cups/raster.h> cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ); cups_page_header2_t header; @@ -530,7 +530,7 @@ function. Afor
loop is normally used to read the page one line at a time:-#include <cups/raster.h>> +#include <cups/raster.h> cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ); cups_page_header2_t header; diff --git a/filter/api-raster.shtml b/filter/api-raster.shtml index 35996f6fa..6d458a2ed 100644 --- a/filter/api-raster.shtml +++ b/filter/api-raster.shtml @@ -34,7 +34,7 @@ function. For example, to read raster data from the standard input, open file descriptor 0:-#include <cups/raster.h>> +#include <cups/raster.h> cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ);@@ -61,7 +61,7 @@ hardware resolution, and so forth used for the page. function:-#include <cups/raster.h>> +#include <cups/raster.h> cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ); cups_page_header2_t header; @@ -84,7 +84,7 @@ function. Afor
loop is normally used to read the page one line at a time:-#include <cups/raster.h>> +#include <cups/raster.h> cups_raster_t *ras = cupsRasterOpen(0, CUPS_RASTER_READ); cups_page_header2_t header;