Changeset 7db5cfd in mainline
- Timestamp:
- 2015-09-21T21:59:56Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 80bee81
- Parents:
- c70703a
- Location:
- uspace/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/io.c
rc70703a r7db5cfd 624 624 int fputs(const char *str, FILE *stream) 625 625 { 626 return fwrite(str, str_size(str), 1, stream); 626 (void) fwrite(str, str_size(str), 1, stream); 627 if (ferror(stream)) 628 return EOF; 629 return 0; 627 630 } 628 631 -
uspace/lib/posix/source/stdio.c
rc70703a r7db5cfd 101 101 int posix_fputs(const char *restrict s, FILE *restrict stream) 102 102 { 103 int rc = fputs(s, stream); 104 if (rc == 0) { 105 return EOF; 106 } else { 107 return 0; 108 } 103 return fputs(s, stream); 109 104 } 110 105
Note:
See TracChangeset
for help on using the changeset viewer.