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
@@ -164,6 +164,7 @@ size_t fwrite(FAR const void *ptr, size_t size, size_t n_items,
FAR FILE *stream);
FAR char *gets(FAR char *s);
FAR char *gets_s(FAR char *s, rsize_t n);
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);