libc: Add IPTR for puts/fputs

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I2a83afb4d934a44ad1b56ec6dd72e654f4e112a3
This commit is contained in:
Xiang Xiao
2020-06-03 02:57:39 +08:00
committed by Brennan Ashton
parent 4fbbd2e3bf
commit 43d7c1e807
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -153,7 +153,7 @@ FAR char *fgets(FAR char *s, int n, FAR FILE *stream);
FAR FILE *fopen(FAR const char *path, FAR const char *type);
int fprintf(FAR FILE *stream, FAR const IPTR char *format, ...);
int fputc(int c, FAR FILE *stream);
int fputs(FAR const char *s, FAR FILE *stream);
int fputs(FAR const IPTR char *s, FAR FILE *stream);
size_t fread(FAR void *ptr, size_t size, size_t n_items, FAR FILE *stream);
FAR FILE *freopen(FAR const char *path, FAR const char *mode,
FAR FILE *stream);
@@ -178,7 +178,7 @@ int ungetc(int c, FAR FILE *stream);
void perror(FAR const char *s);
int printf(FAR const IPTR char *fmt, ...);
int puts(FAR const char *s);
int puts(FAR const IPTR char *s);
int rename(FAR const char *oldpath, FAR const char *newpath);
int sprintf(FAR char *buf, FAR const IPTR char *fmt, ...);
int asprintf(FAR char **ptr, FAR const IPTR char *fmt, ...);