Implement grantpt as no-op

This commit is contained in:
Jeremy Soller
2024-01-18 13:26:14 -07:00
parent ab3ececc9a
commit af7441e834
+3 -2
View File
@@ -405,9 +405,10 @@ pub unsafe extern "C" fn getsubopt(
-1
}
// #[no_mangle]
#[no_mangle]
pub extern "C" fn grantpt(fildes: c_int) -> c_int {
unimplemented!();
// No-op on Linux and Redox
0
}
#[no_mangle]