lib/libc: implement C23 memalignment()
This new function computes the alignment of a pointer.
It is part of ISO/IEC 9899:2024, the new C standard.
If the pointer is a null pointer, null is returned.
I have tried to write an implementation that can cope
with traditional address-based architectures, even if
size_t and uintptr_t are of different length. Adjustments
may be needed for CHERI though.
A man page is provided, too. No unit test for now.
Reviewed by: kib, imp, ziaee (manpages), pauamma at gundo.com
Approved by: markj (mentor)
MFC after: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D53673
www/kcgi: update to 1.0.0
The SONAME has been bumped upstream but the ABI remain compatible
(checked with libabigail's abidiff tool). so provide a sumlink for
the old soname, to not break any prebuilt binaries.
devel/uv: Search in LOCALBASE for config files
uv searches by default in /etc for config files, replace with LOCALBASE.
Approved by: yuri (maintainer)
Differential Revision: https://reviews.freebsd.org/D53698
date.1: Lint with mandoc
Specifically, remove Tn macors, replace Li with Ql, and escape %N to
address date.1's rendering issues on man.freebsd.org.
PR: 290801
Reported by: jinwookjeongg at gmail.com
MFC after: 1 week
Sponsored by: Klara, Inc.
(cherry picked from commit e878ba8eea7206b3a435338c6eed0e4264e0ce14)
date.1: Lint with mandoc
Specifically, remove Tn macors, replace Li with Ql, and escape %N to
address date.1's rendering issues on man.freebsd.org.
PR: 290801
Reported by: jinwookjeongg at gmail.com
MFC after: 1 week
Sponsored by: Klara, Inc.
(cherry picked from commit e878ba8eea7206b3a435338c6eed0e4264e0ce14)