File tree Expand file tree Collapse file tree
src/uucore/src/lib/features Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -462,16 +462,18 @@ pub fn signal_name_by_value(signal_value: usize) -> Option<String> {
462462 } )
463463}
464464
465+ /// Returns the values of SIGRTMIN and SIGRTMAX if defined on this platform.
465466#[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
466- fn realtime_signal_bounds ( ) -> Option < ( usize , usize ) > {
467+ pub fn realtime_signal_bounds ( ) -> Option < ( usize , usize ) > {
467468 let rtmin = libc:: SIGRTMIN ( ) ;
468469 let rtmax = libc:: SIGRTMAX ( ) ;
469470
470471 ( 0 < rtmin && rtmin <= rtmax) . then_some ( ( rtmin as usize , rtmax as usize ) )
471472}
472473
474+ /// Returns the values of SIGRTMIN and SIGRTMAX if defined on this platform.
473475#[ cfg( not( any( target_os = "linux" , target_os = "android" ) ) ) ]
474- fn realtime_signal_bounds ( ) -> Option < ( usize , usize ) > {
476+ pub fn realtime_signal_bounds ( ) -> Option < ( usize , usize ) > {
475477 None
476478}
477479
You can’t perform that action at this time.
0 commit comments