Crate syslog_c

source ·
Expand description

’syslog-c‘ is just a simple package of C library syslog, which is convenient for us to use in the process of rewriting C code to Rust

Functions

  • the same as libc::closelog
  • C openlog, we use &str to replace *const i8. We still use libc flags here
  • the same as libc::setlogmask
  • C syslog, we use &str to replace *const i8. We still use libc flags here