musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011年04月11日 01:52:23 -0400
committerRich Felker <dalias@aerifal.cx>2011年04月11日 01:52:23 -0400
commit52458cfa8c79a9eacb81e151e15cdeff04b75d37 (patch)
tree6129cce621cabe07bd361d9de0030c2a176a035b
parent01612447847063c2c9b574a3df6c197d26fd1533 (diff)
downloadmusl-52458cfa8c79a9eacb81e151e15cdeff04b75d37.tar.gz
fix fputwc return value
Diffstat
-rw-r--r--src/stdio/fputwc.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/fputwc.c b/src/stdio/fputwc.c
index 292a53fb..45ea8c23 100644
--- a/src/stdio/fputwc.c
+++ b/src/stdio/fputwc.c
@@ -25,7 +25,7 @@ wint_t fputwc(wchar_t c, FILE *f)
FLOCK(f);
c = __fputwc_unlocked(c, f);
FUNLOCK(f);
- return 0;
+ return c;
}
weak_alias(__fputwc_unlocked, fputwc_unlocked);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 19:52:23 +0000

AltStyle によって変換されたページ (->オリジナル) /