feat: Vfs and Ext2 support. Code style/attribute improvements
Added VFS and Ext2 support. Optimized attributes of methods to improve code highlighting. Printf attribute, malloc attribute, etc.
This commit is contained in:
@@ -24,7 +24,7 @@ void fflush(FILE *);
|
||||
|
||||
FILE *fopen(const char *, const char *);
|
||||
|
||||
void fprintf(FILE *, const char *, ...);
|
||||
void __attribute__((format (printf, 2, 3))) fprintf(FILE *, const char *, ...);
|
||||
|
||||
size_t fread(void *, size_t, size_t, FILE *);
|
||||
|
||||
@@ -38,11 +38,11 @@ void setbuf(FILE *, char *);
|
||||
|
||||
int vfprintf(FILE *, const char *, va_list);
|
||||
|
||||
int vprintf(const char* fmt, va_list args);
|
||||
int vprintf(const char *fmt, va_list args);
|
||||
|
||||
int printf(const char *fmt, ...);
|
||||
int __attribute__((format (printf, 1, 2))) printf(const char *fmt, ...);
|
||||
|
||||
int sprintf(char *target, const char *fmt, ...);
|
||||
int __attribute__((format (printf, 2, 3))) sprintf(char *target, const char *fmt, ...);
|
||||
|
||||
|
||||
#endif //NEW_KERNEL_STDIO_H
|
||||
|
||||
Reference in New Issue
Block a user