db_result_t db_stat_buffer ( db_t  h,
uint32_t  bufno,
db_buf_stat_t stat 
)

Obtain statistics for a specific buffer.

Parameters:
h Database handle.
bufno Buffer number of specific buffer.
stat Returned buffer statistics.
Returns:
On failure, one of the following error codes is set:
  • DB_EINVAL Caused by: invalid database handle or buffer manager statistics is null.

See also:
db_stat_bufmgr,
get_db_error, clear_db_error, Error Handling


Copyright © 2005-2008 ITTIA®. All rights reserved.