summaryrefslogtreecommitdiff
path: root/doc/func.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/func.texi')
-rw-r--r--doc/func.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/func.texi b/doc/func.texi
index 7a843c3741..7225ca6299 100644
--- a/doc/func.texi
+++ b/doc/func.texi
@@ -15,3 +15,6 @@ int main (void)
printf ("%s: hello world\n", __func__);
@}
@end smallexample
+
+Note that @code{sizeof} cannot be applied to @code{__func__}: On SunPRO C
+compiler, @code{sizeof __func__} evaluates to 0.