GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PS_OPEN_MEM (3)

      uwe@steinmann.cx    

UWE STEINMANN 2003Uwe SteinmannApril 28, 2003;

NAME

PS_open_mem — Creates a PostScript document in memory

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


PS_OPEN_MEM (3) -->

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.