MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / clear

Method clear

src/kernel_sigset.rs:54–58  ·  view source on GitHub ↗

Remove all signals.

(&mut self)

Source from the content-addressed store, hash-verified

52
53 /// Remove all signals.
54 pub fn clear(&mut self) {
55 *self = Self(kernel_sigset_t {
56 sig: Default::default(),
57 });
58 }
59
60 /// Insert a signal.
61 pub fn insert(&mut self, sig: Signal) {

Callers 1

test_clearFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_clearFunction · 0.36