why not s/ret/err/ and strerror(-err) as above ?