summaryrefslogtreecommitdiff
path: root/doc/func.texi
blob: 7a843c37412f172ecae4c42cfa901d57490a0f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@node func
@section func

The @code{func} module makes sure that you can use the predefined
identifier @code{__func__} as defined by C99 in your code.

A small example is:

@smallexample
#include <config.h>
#include <stdio.h> /* for printf */

int main (void)
@{
    printf ("%s: hello world\n", __func__);
@}
@end smallexample