Add additional rustdocs for missing docs found during CI

This commit is contained in:
Brandon Fish
2019-11-10 15:16:07 -06:00
parent 2d00b2589e
commit 82ec5e970a
2 changed files with 9 additions and 0 deletions

View File

@ -377,6 +377,7 @@ pub struct FaultInfo {
pub known_registers: [Option<u64>; 32],
}
/// Gets fault info for the given siginfo and context pointers.
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
pub unsafe fn get_fault_info(siginfo: *const c_void, ucontext: *const c_void) -> FaultInfo {
use libc::{