|Subject:||Suggest not testing that zero bytes are in use|
In the program,you require that it says exactly "in use at exit: 0 bytes". To get that requires closing stdout or not using printf. If one uses printf, a buffer is allocated which is tied to stdout, and is not freed until one does fclose (stdout). That is rather an annoying requirement and it doesn't indicate that there is an error in the program that more than zero bytes are in use at exit, since the bytes are freed by _exit when it closes stdout. Sorry to report so many bugs at once, I promise this will be the last until I hear from you.