Skip to content

errno: Search by perror string #2657

@k4lizen

Description

@k4lizen

I want stuff like pwn errno "Cannot allocate memory" to return EACCES. Can often come in handy when I see the message being printed via errno and want to check the man pages or source to see what condition causes that.

The definitions are in glibc/sysdeps/gnu/errlist.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions