From 3534b428629be185e096be99e3bd5fdfe32d5544 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Sep 2014 18:55:44 +0000 Subject: initial commit with rc for skalibs-2.0.0.0 --- doc/libstddjb/gccattributes.html | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 doc/libstddjb/gccattributes.html (limited to 'doc/libstddjb/gccattributes.html') diff --git a/doc/libstddjb/gccattributes.html b/doc/libstddjb/gccattributes.html new file mode 100644 index 0000000..6ee71ef --- /dev/null +++ b/doc/libstddjb/gccattributes.html @@ -0,0 +1,48 @@ + + + + + skalibs: the gccattributes header + + + + + + +

+libstddjb
+libskarnet
+skalibs
+Software
+skarnet.org +

+ +

The skalibs/gccattributes.h header

+ +

+ skalibs/gccattributes.h is a set of wrappers around +gcc +attributes (duh). It defines macros that are always valid, and +that have no effect if the compiler is not gcc or the used version +of gcc does not support the wanted attribute. +

+ +

+ For instance: +

+ +
+ extern unsigned int str_len (char const *) gccattr_pure ;
+
+ +

+ defines the str_len function as pure if it is +supported. +

+ +

+ The source code is self-explanatory. +

+ + + -- cgit v1.3.1