StudyGlib/app/src/main/cpp/study/buf.c
/**
 * vips_buf_all:
 * @buf: the buffer
 *
 * Return the contents of the buffer as a C string. 
 * 
 * Returns: the %NULL-terminated contents of the buffer. This is a pointer to
 * the memory managed by the buffer and must not be freed. 
 */
@buf: the buffer

Return the contents of the buffer as a C string.

the %NULL-terminated contents of the buffer. This is a pointer to
the memory managed by the buffer and must not be freed.
@buf : the buffer Return the contents of the buffer as a C string . the %NULL - terminated contents of the buffer . This is a pointer to the memory managed by the buffer and must not be freed .
const char *
vips_buf_all( VipsBuf *buf )
{
	buf->base[buf->i] = '\0';
	return( buf->base );
}
const char * vips_buf_all ( VipsBuf * buf ) { buf -> base [ buf -> i ] = ' \0 ' ; return ( buf -> base ) ; }
vips_buf_all:
 @buf: the buffer
vips_buf_all : @buf : the buffer