File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ feature! {
202202 pub mod spawn;
203203}
204204
205- #[ cfg( target_os = " macos" ) ]
205+ #[ cfg( any ( linux , macos) ) ]
206206feature ! {
207207 #![ feature = "syslog" ]
208208 pub mod syslog;
Original file line number Diff line number Diff line change @@ -96,6 +96,11 @@ libc_bitflags! {
9696 /// If syslog() cannot pass the message to syslogd(8) it will attempt to write the
9797 /// message to the console ("/dev/console").
9898 LOG_CONS ;
99+ /// The converse of [`LOG_NDELAY`][LogFlags::LOG_NDELAY]; opening of the connection is
100+ /// delayed until `syslog` is called.
101+ ///
102+ /// This is the default, and need not be specified.
103+ LOG_ODELAY ;
99104 /// Open the connection to syslogd(8) immediately. Normally the open is delayed until
100105 /// the first message is logged. Useful for programs that need to manage the order in
101106 /// which file descriptors are allocated.
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ mod test_sendfile;
4242) ) ]
4343mod test_spawn;
4444
45- #[ cfg( target_os = " macos" ) ]
45+ #[ cfg( any ( linux , macos) ) ]
4646mod test_syslog;
4747
4848mod test_time;
You can’t perform that action at this time.
0 commit comments