Introduce VIR_DIR_CLOSE
Introduce a helper that only calls closedir if DIR* is non-NULL and sets it to NULL afterwards.
Showing
想要评论请 注册 或 登录
Introduce a helper that only calls closedir if DIR* is non-NULL and sets it to NULL afterwards.