macros.h File Reference

- Main Page
- Tutorials
- Functions
- Release Notes
- Examples

Macros
macros.h File Reference
`#include <stdio.h>`

Go to the source code of this file.

## Macros
#define | AF_MSG(fmt, ...)
| Print a line on screen using printf syntax. More...

## Macro Definition Documentation

#define AF_MSG | ( |  | fmt,
|  |  | ...
| ) |  |

Value:
do { \
printf("%s:%d: " fmt "\n", \
__FILE__, __LINE__, ##__VA_ARGS__); \
} while (0);

Print a line on screen using printf syntax.

Usage: Uses same syntax and semantics as printf. Output: <filename>:<line number>: <message>