Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kill] Implement kill -l EXIT_STATUS #7

Open
duckinator opened this issue Jun 6, 2020 · 0 comments
Open

[kill] Implement kill -l EXIT_STATUS #7

duckinator opened this issue Jun 6, 2020 · 0 comments
Labels
missing functionality Something required by a standard (probably POSIX) was knwoingly not implemented.

Comments

@duckinator
Copy link
Owner

I've implemented kill -l but not kill -l EXIT_STATUS

Frankly, I don't understand what https://pubs.opengroup.org/onlinepubs/9699919799/utilities/kill.html is trying to tell me:

-l
(The letter ell.) Write all values of signal_name supported by the implementation, if no operand is given.
If an exit_status operand is given and it is a value of the '?' shell special parameter (see Special Parameters and wait) corresponding to a process that was terminated by a signal, the signal_name corresponding to the signal that terminated the process shall be written. If an exit_status operand is given and it is the unsigned decimal integer value of a signal number, the signal_name (the symbolic constant name without the SIG prefix defined in the Base Definitions volume of POSIX.1-2017) corresponding to that signal shall be written.
Otherwise, the results are unspecified.

(Emphasis mine.)

@duckinator duckinator changed the title Implement kill -l EXIT_STATUS [kill] Implement kill -l EXIT_STATUS Jun 8, 2020
@duckinator duckinator added the missing functionality Something required by a standard (probably POSIX) was knwoingly not implemented. label Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing functionality Something required by a standard (probably POSIX) was knwoingly not implemented.
Projects
None yet
Development

No branches or pull requests

1 participant