fix wide scanf's handling of input failure on %c, and simplify %[
[musl] / src / math / lround.c
1 #include <math.h>
2
3 long lround(double x)
4 {
5         return round(x);
6 }