Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.5/user/libs/libc/src/
Dstdio.c7 int fprintf(FILE *restrict stream, const char *restrict format, ...) in fprintf() argument
24 write(stream->fd, buf, len); in fprintf()
38 int fflush(FILE *stream) in fflush() argument
43 int ferror(FILE *stream) in ferror() argument
48 int fclose(FILE *stream) in fclose() argument
50 if (stream->fd >= 3) in fclose()
52 int retcval = close(stream->fd); in fclose()
53 free(stream); in fclose()
63 FILE *stream = malloc(sizeof(FILE)); in fopen() local
64 memset(stream, 0, sizeof(FILE)); in fopen()
[all …]
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dstdio.h53 int fflush(FILE *stream);
54 int fprintf(FILE *restrict stream, const char *restrict format, ...);
55 int ferror(FILE *stream);
57 int fclose(FILE *stream);