#define PRINTF(...) \
do { \
fprintf(stderr, "MedicalRecorde r: " __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (0)
#define DPRINTF(...) \
do { \
fprintf(stderr, "MedicalRecorde r: %s:%d: ", __FUNCTION__, __LINE__,); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (0)
i wanna use vfprintf instead of fprintf. so how to do that.
do { \
fprintf(stderr, "MedicalRecorde r: " __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (0)
#define DPRINTF(...) \
do { \
fprintf(stderr, "MedicalRecorde r: %s:%d: ", __FUNCTION__, __LINE__,); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (0)
i wanna use vfprintf instead of fprintf. so how to do that.
Comment