about those functions from RETURN VALUES section.
Based on mail from Douwe Kiela. Fixes PR lib/21285 by Thomas Klausner.