[][src]Function rmesg::rmesg

pub fn rmesg(clear: bool) -> Result<String, RMesgError>

This is the key safe function that makes the klogctl syslog call with parameters. While the internally used function supports all klogctl parameters, this function only provides one bool parameter which indicates whether the buffer is to be cleared or not, after its contents have been read.