Add implementation of fdprintf, clearenv, and stubs for ttyname_r, *usershell

Change-Id:	I5fe7e8b6ee5edbb49e707c3b6737a58563781fa3
6 files changed