C Library: Add setbuf() which is a trivial wrapper around setvbuf().

This commit is contained in:
Gregory Nutt
2017-02-09 15:04:17 -06:00
parent 488a89e67e
commit c19aa094e1
5 changed files with 106 additions and 11 deletions
+1
View File
@@ -8681,6 +8681,7 @@ int fsetpos(FILE *stream, fpos_t *pos);
long ftell(FILE *stream);
size_t fwrite(const void *ptr, size_t size, size_t n_items, FILE *stream);
char *gets(char *s);
void setbuf(FAR FILE *stream, FAR char *buf);
int setvbuf(FAR FILE *stream, FAR char *buffer, int mode, size_t size);
int ungetc(int c, FAR FILE *stream);