libc: io: fputc now updates errno on success
This commit is contained in:
@@ -15,6 +15,7 @@ int __fputc(int c, struct __opaque_file *stream)
|
|||||||
return EOF;
|
return EOF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__set_errno(SUCCESS);
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user