diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2018-08-17 12:26:02 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2018-08-17 12:26:02 +0000 |
commit | b024317c8de8fc6aa55e87767b0e084ba5941ce7 (patch) | |
tree | 2fb250f1cfd1ef0a78b9db6c2b2553a1140ef198 /usr/src/head/iso/stdlib_c11.h | |
parent | 48810110f815c605fe76c7da807dcfc9f4962485 (diff) | |
parent | e5ecfaa0ff00b00d0b97e8638701ff77caeeab1d (diff) | |
download | illumos-joyent-b024317c8de8fc6aa55e87767b0e084ba5941ce7.tar.gz |
[illumos-gate merge]
commit e5ecfaa0ff00b00d0b97e8638701ff77caeeab1d
9726 getent could list the attr databases
commit 70ee30a511f4abfd1b9cdf25495a219fe131829a
9719 uts/i86pc: add way to set bootrd_debug
commit ca876c1c4225b51f8e1c2763b28e8466add83a0b
9717 libstand: build with -Wall only
commit 64a170cf91c8d267e7707c00ac13639160db85cd
9703 loader: stage1 should not probe floppies for zfs
commit 843ead088f87e5e766084646370e981f176eb323
9418 iwn: rate array in struct iwn_ks_txpower should have size IWN_RIDX_MAX+1
commit 8e5dcf3a637ec78130ed00945993c8c991997a44
9728 3secdb man pages need some tlc
commit 00efb5e1437d3912284689f1b0c13190e634e788
8548 want memset_s(3C)
commit 3b5ccf6b95a705120c7f7fa193afabfd40dc7342
9242 st: this statement may fall through
Conflicts:
usr/src/test/libc-tests/runfiles/default.run
Diffstat (limited to 'usr/src/head/iso/stdlib_c11.h')
-rw-r--r-- | usr/src/head/iso/stdlib_c11.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/usr/src/head/iso/stdlib_c11.h b/usr/src/head/iso/stdlib_c11.h index b02ef2d884..5648ca4083 100644 --- a/usr/src/head/iso/stdlib_c11.h +++ b/usr/src/head/iso/stdlib_c11.h @@ -65,6 +65,26 @@ extern int at_quick_exit(void (*)(void)); extern _NORETURN_KYWD void quick_exit(int); #endif /* !_STRICT_SYMBOLS || _STDC_C11 || __cplusplus >= 201103L */ +#if __EXT1_VISIBLE + +#ifndef _ERRNO_T_DEFINED +#define _ERRNO_T_DEFINED +typedef int errno_t; +#endif + +/* K.3.6 */ +typedef void (*constraint_handler_t)(const char *_RESTRICT_KYWD, + void *_RESTRICT_KYWD, errno_t); +/* K.3.6.1.1 */ +extern constraint_handler_t set_constraint_handler_s(constraint_handler_t); +/* K.3.6.1.2 */ +extern _NORETURN_KYWD void abort_handler_s(const char *_RESTRICT_KYWD, + void *_RESTRICT_KYWD, errno_t); +/* K3.6.1.3 */ +extern void ignore_handler_s(const char *_RESTRICT_KYWD, void *_RESTRICT_KYWD, + errno_t); +#endif /* __EXT1_VISIBLE */ + #if __cplusplus >= 199711L } #endif |