add some comment, and function check_errno()
just complie success,