diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2017-03-30 04:57:26 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-03-30 04:57:26 +0000 |
commit | 9851b3400ae1362185d9ffe3c163428b9faa6b9f (patch) | |
tree | 5310615d6631002e7262db4e9ea81f3338f4fcb8 /lib/libc/include/libc_private.h | |
parent | 653e7d639682be855c34415b1b7542d9388aafd6 (diff) | |
download | src-9851b3400ae1362185d9ffe3c163428b9faa6b9f.tar.gz src-9851b3400ae1362185d9ffe3c163428b9faa6b9f.zip |
Implement the memset_s(3) function as specified by the C11 ISO/IEC
9899:2011 Appendix K 3.7.4.1.
Other needed supporting types, defines and constraint_handler
infrastructure is added as specified in the C11 spec.
Submitted by: Tom Rix <trix@juniper.net>
Sponsored by: Juniper Networks
Discussed with: ed
MFC after: 3 weeks
Differential revision: https://reviews.freebsd.org/D9903
Differential revision: https://reviews.freebsd.org/D10161
Notes
Notes:
svn path=/head/; revision=316213
Diffstat (limited to 'lib/libc/include/libc_private.h')
-rw-r--r-- | lib/libc/include/libc_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index 9b19aaf37d58..384f61fb223b 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -404,4 +404,6 @@ void __libc_map_stacks_exec(void); void _pthread_cancel_enter(int); void _pthread_cancel_leave(int); +void __throw_constraint_handler_s(const char * restrict msg, int error); + #endif /* _LIBC_PRIVATE_H_ */ |