__must_check含义及出处
[linux笔记]__must_check含义及出处 include/linux/compiler-gcc4.h #define __must_check __attribute__((warn_unused_result))__must_check函数是指
·
[linux笔记]__must_check含义及出处
include/linux/compiler-gcc4.h
#define __must_check __attribute__((warn_unused_result))
__must_check函数是指调用函数一定要处理该函数的返回值,否则编译器会给出警告
#define __must_check __attribute__((warn_unused_result))
__must_check函数是指调用函数一定要处理该函数的返回值,否则编译器会给出警告
更多推荐
已为社区贡献2条内容
所有评论(0)