reentrant bddio.c