would ever return anything except 0, and I can't see anything it needs to do with a zero-length buffer. Just one man's opinion, of course. --jkl