Subject: malloc and errno To: None <tech-userlevel@netbsd.org> From: None <itojun@iijlab.net> List: tech-userlevel Date: 06/02/2000 11:09:36
1.4.2 malloc(3) does not update errno. sbrk may update it.
1.5Z malloc(3) explicitly updates errno to ENOMEM, when it fails.
does anyone know which is more correct behavior to expect?
itojun