Skip to content

Not possible to call kill(pid, 0) #441

Closed
@mkollaro

Description

@mkollaro

According to the man page:

If sig is 0, then no signal is sent, but error checking is still performed; this can be used to check for the existence of a process ID or process group ID.

The current signature is pub fn kill(pid: pid_t, signal: Signal), and I think it should use Option<Signal>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions