logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PS_get_buffer — Returns internal memory buffer

Author

       This manual page was written by Uwe Steinmann uwe@steinmann.cx.

                                                                                                PS_GET_BUFFER(3)

Description

       Returns  the  current  internal memory buffer when the document is created in memory. The internal buffer
       will be set to a length of 0 when calling this function. You should output  or  save  the  return  buffer
       pointer  before  calling any other pslib functions. The parameter size can be used to retrieve the number
       of bytes in the buffer.

Name

       PS_get_buffer — Returns internal memory buffer

Return Value

See Also

PS_open_file(3)

Synopsis

       #include <pslib.h>

       const char *PS_get_buffer(PSDoc *psdoc, long *size)

See Also