Fixup last commit

This commit is contained in:
Jeremy Soller
2025-01-09 10:22:28 -07:00
parent 431d55aa24
commit 01d7f7b44a
+1 -1
View File
@@ -1053,7 +1053,7 @@ pub unsafe extern "C" fn setbuf(stream: *mut FILE, buf: *mut c_char) {
/// Set buffering of `stream` to line buffered
#[no_mangle]
pub unsafe extern "C" fn setlinebuf(stream: *mut FILE) {
setvbuf(stream, NULL, _IOLBF, 0);
setvbuf(stream, ptr::null_mut(), _IOLBF, 0);
}
/// Reset `stream` to use buffer `buf` of size `size`