-
Notifications
You must be signed in to change notification settings - Fork 14.2k
[libc][docs] Generate docs for signal.h & optimized is_implemented func #88028
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
Changes from all commits
4a1d17a
ed2f221
29f6b68
9a82d2b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ stages there is no ABI stability in any form. | |
libc_search | ||
c23 | ||
ctype | ||
signal | ||
|
||
.. toctree:: | ||
:hidden: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.. include:: check.rst | ||
|
||
signal.h Functions | ||
================== | ||
|
||
.. list-table:: | ||
:widths: auto | ||
:align: center | ||
:header-rows: 1 | ||
|
||
* - Function | ||
- Implemented | ||
- Standard | ||
* - kill | ||
- |check| | ||
- | ||
* - raise | ||
- |check| | ||
- 7.14.2.1 | ||
* - sigaction | ||
- |check| | ||
- | ||
* - sigaddset | ||
- |check| | ||
- | ||
* - sigaltstack | ||
- |check| | ||
- | ||
* - sigdelset | ||
- |check| | ||
- | ||
* - sigemptyset | ||
- |check| | ||
- | ||
* - sigfillset | ||
- |check| | ||
- | ||
* - signal | ||
- |check| | ||
- 7.14.1.1 | ||
* - sigprocmask | ||
- |check| | ||
- |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"macros": [ | ||
"SIG_DFL", | ||
"SIG_ERR", | ||
"SIG_IGN", | ||
"SIGABRT", | ||
"SIGFPE", | ||
"SIGILL", | ||
"SIGINT", | ||
"SIGSEGV", | ||
"SIGTERM" | ||
], | ||
"functions": { | ||
"kill": null, | ||
"sigaction": null, | ||
"sigaddset": null, | ||
"sigaltstack": null, | ||
"sigdelset": null, | ||
"sigemptyset": null, | ||
"sigfillset": null, | ||
"sigprocmask": null, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So I was thinking about these POSIX defined functions (none of this needs to be solved in this PR, but is perhaps worth thinking about how we can do something better for POSIX functions in the future). It is possible to create a hyperlink to a page about them, example: https://pubs.opengroup.org/onlinepubs/009604499/functions/kill.html Perhaps we either add more specialized handling of the 'defined' field to support URLs, or use a different field. IDK yet. |
||
"signal": { | ||
"defined": "7.14.1.1" | ||
}, | ||
"raise": { | ||
"defined": "7.14.2.1" | ||
} | ||
} | ||
} |
Uh oh!
There was an error while loading. Please reload this page.