> The current behaviour of our implementation is to return the number > of characters printed *and* set errno = ENOMEM.
I expect it should not set errno. As a general rule, errno should only be set if an error has been indicated. Other short operations don't set errno.