Skip to content

sa_sigaction does not have type sighandler_t #3731

Open
@lolbinarycat

Description

@lolbinarycat

sighandler_t is the type of the callback passed to signal()

it is a function with one argument.

sa_sigaction is a struct field containing a function pointer that takes three arguments.

these are not the same type.

at minimum, this should be noted in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions