Add module __func__ to provide C99 __func__ variable.
[pspp] / doc / gnulib.texi
index 270bcb7e70c01e0a704e0849600f454dcf3d9e85..31f51df92da312409663dfdfeffc8a50eef703ac 100644 (file)
@@ -5746,6 +5746,7 @@ This list of functions is sorted according to the header that declares them.
 * gcd::
 * Regular expressions::
 * Supporting Relocation::
+* __func__::
 @end menu
 
 @node alloca
@@ -5825,6 +5826,19 @@ generated automatically.
 
 @include regexprops-generic.texi
 
+@node __func__
+@section __func__
+
+The @code{__func__} module makes sure that you can use the
+@code{__func__} variable as defined by C99 in your code.
+
+A small example is:
+
+@smallexample
+#include <config.h>
+...
+printf ("%s: something happened\n", __func__);
+@end smallexample
 
 @node GNU Free Documentation License
 @appendix GNU Free Documentation License