PS_open_mem man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

PS_OPEN_MEM(3)							PS_OPEN_MEM(3)

	     uwe@steinmann.cx
       UWE STEINMANN 2003Uwe SteinmannApril 28, 2003;

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 inter‐
       nal 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)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net