This error number is returned for example in gethostbyname_r (the re-entrant version of gethostbyname(3)) if the buffer given to the function is too small to store "auxiliary data".
Compare with EDOM
3 pages link to ERANGE: