add fcntl

add fcntl, operate file discripter, such as change fd flags etc.

Signed-off-by: Lindell Xu <lxu@vetronicsltd.com.cn>