我是靠谱客的博主 唠叨金毛,这篇文章主要介绍__attribute__ ((__noreturn__)),现在分享给大家,希望可以做个参考。

#ifndef _SYS_CDEFS_H

#include <misc/sys/cdefs.h>

#ifndef _ISOMAC
/* The compiler will optimize based on the knowledge the parameter is
   not NULL.  This will omit tests.  A robust implementation cannot allow
   this so when compiling glibc itself we ignore this attribute.  */
# undef __nonnull
# define __nonnull(params)

extern void __chk_fail (void) __attribute__ ((__noreturn__));
libc_hidden_proto (__chk_fail)
rtld_hidden_proto (__chk_fail)

#endif

#endif

摘自:glic-2.28   cdefs.h

最后

以上就是唠叨金毛最近收集整理的关于__attribute__ ((__noreturn__))的全部内容,更多相关__attribute__内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(120)

评论列表共有 0 条评论

立即
投稿
返回
顶部