Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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()
45 int fflush(FILE *stream) in fflush() argument
50 int ferror(FILE *stream) in ferror() argument
55 int fclose(FILE *stream) in fclose() argument
57 int retval = close(stream->fd); in fclose()
60 if (stream->fd >= 3) in fclose()
61 free(stream); in fclose()
70 FILE *stream = malloc(sizeof(FILE)); in fopen() local
71 memset(stream, 0, sizeof(FILE)); in fopen()
[all …]
/DragonOS-0.1.7/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);