add ex83
mend
Revert "mend"

This reverts commit fbda7dd29b8396f279356f30a64cb562a64a83f4.
fix warning implicit use of wait
Fixed inv.c malloc
Merge