From f208e264d1811e539af8a76578e5570cf03e27af Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 8 Jun 2020 14:51:37 +0000 Subject: add comments git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3856 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/pm_system.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib') diff --git a/lib/pm_system.h b/lib/pm_system.h index dfcd5b3f..58e17f05 100644 --- a/lib/pm_system.h +++ b/lib/pm_system.h @@ -76,8 +76,15 @@ pm_accept_null(int const pipetosuckFd, struct bufferDesc { /* This is just a parameter for the routines below */ unsigned int size; + /* For a read operation, number amount of space available to store + data read. For a write operation, number of bytes of data available. + */ unsigned char * buffer; unsigned int * bytesTransferredP; + /* The function returns the number of bytes placed in the buffer or + extracted from the buffer here. NULL if you don't want that + information. + */ }; -- cgit 1.4.1