Macro systemd::char_or_null
[−]
[src]
macro_rules! char_or_null { ($e:expr) => { ... }; }
Given an Option<&str>, either returns a pointer to a const char*, or a NULL pointer if None.