| www.delorie.com/gnu/docs/avl/libavl_16.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This function returns the number of items currently in a table.
size_t tbl_count (const struct tbl_table *); |
The actual tables instead use a macro for implementation.
Exercises:
1. Implement tbl_count() as a macro, on the assumption that struct tbl_table keeps the number of items in the table in a size_t member named tbl_count. [answer]
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |