mirror of
https://github.com/drasko/codezero.git
synced 2026-01-18 13:53:16 +01:00
Changes in README. Fixes to fault handling.
Yet to investigate why adding a printf format attribute to stdio.h does not generate warnings for invalid arguments to printf.
This commit is contained in:
@@ -161,7 +161,7 @@ int setvbuf(FILE *, char *, int, size_t);
|
||||
/* 7.19.6 Format i/o functions */
|
||||
int fprintf(FILE *, const char *, ...);
|
||||
int fscanf(FILE *, const char *, ...);
|
||||
int printf(const char *, ...);
|
||||
int printf(const char *format, ...); __attribute__((format (printf, 1, 2)));
|
||||
int scanf(const char *, ...);
|
||||
int snprintf(char *, size_t , const char *, ...);
|
||||
int sprintf(char *, const char *, ...);
|
||||
|
||||
Reference in New Issue
Block a user