32-bit alternative mgetl().