Home
last modified time | relevance | path

Searched refs:FILE (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.3/user/libs/libc/src/
Dlibc_init.c4 FILE *stdin;
5 FILE *stdout;
6 FILE *stderr;
11 stdin = malloc(sizeof(FILE)); in _libc_init()
12 stdout = malloc(sizeof(FILE)); in _libc_init()
13 stderr = malloc(sizeof(FILE)); in _libc_init()
Dstdio.c7 int fprintf(FILE *restrict stream, const char *restrict format, ...) in fprintf()
38 int fflush(FILE *stream) in fflush()
43 int ferror(FILE *stream) in ferror()
48 int fclose(FILE *stream) in fclose()
61 FILE *fopen(const char *restrict pathname, const char *restrict mode) in fopen()
63 FILE *stream = malloc(sizeof(FILE)); in fopen()
64 memset(stream, 0, sizeof(FILE)); in fopen()
/DragonOS-0.1.3/user/libs/libc/src/include/
Dstdio.h33 } FILE; typedef
35 extern FILE* stdin;
36 extern FILE* stdout;
37 extern FILE* stderr;
53 int fflush(FILE *stream);
54 int fprintf(FILE *restrict stream, const char *restrict format, ...);
55 int ferror(FILE *stream);
56 FILE *fopen(const char *restrict pathname, const char *restrict mode);
57 int fclose(FILE *stream);
/DragonOS-0.1.3/kernel/src/debug/
Dkallsyms.c50 int read_symbol(FILE *filp, struct kernel_symbol_entry_t *entry) in read_symbol()
78 void read_map(FILE *filp) in read_map()