Added implementation of lstat to port.c.

7 files changed