Hi,
On GNU/Linux, _GNU_SOURCE enables
tdestroy(). How do I free a binary tree in
OpenBSD?
I grepped /usr/src and didn't find any
places tdelete( is used.
Thanks,
m
On Mon, Jun 07, 2010 at 05:02:09PM -0400, Mark Bucciarelli wrote:
Hi,
On GNU/Linux, _GNU_SOURCE enables
tdestroy(). How do I free a binary tree in
OpenBSD?
I grepped /usr/src and didn't find any
places tdelete( is used.
Can't you just do
while (rootp != NULL)
On Mon, Jun 07, 2010 at 05:02:09PM -0400, Mark Bucciarelli wrote:
Hi,
On GNU/Linux, _GNU_SOURCE enables
No.
tdestroy(). How do I free a binary tree in
OpenBSD?
I grepped /usr/src and didn't find any
places tdelete( is used.
$ man -k tdelete
tsearch, tfind, tdelete, twalk (3)
3 matches
Mail list logo