Date: Mon, 25 Aug 2014 23:37:36 +0200 From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost> memcmp is only supposed to provide the correct sign, not the difference. Our man page says difference, and has said that from the beginning.