debian man page for ps_open_mem

Query: ps_open_mem

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PS_OPEN_MEM(3)						     Library Functions Manual						    PS_OPEN_MEM(3)

NAME
PS_open_mem -- Creates a PostScript document in memory
SYNOPSIS
#include <pslib.h> int PS_open_mem(PSDoc *psdoc, size_t (*writeproc)(PSDoc *p, void *data, size_t size))
DESCRIPTION
Creates a PostScript document in memory. It actually does it by using the given output function instead of using the internal file output function. It is up to the application calling this function, what to do with the data passed to the writeproc. The writeproc must return the number of written bytes. writeproc is usually called at least once within any other function.
RETURN VALUE
Returns -1 in case of an error and 0 otherwise.
SEE ALSO
PS_open_fp(3), PS_open_file(3)
AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx. PS_OPEN_MEM(3)
Related Man Pages
ps_begin_page(3) - debian
ps_begin_glyph(3) - debian
ps_begin_font(3) - debian
ps_shading(3) - debian
px_new3(3) - debian
Similar Topics in the Unix Linux Community
Introduction
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
Weird 'find' results
How to copy a column of multiple files and paste into new excel file (next to column)?