mirror of
https://git.FreeBSD.org/doc.git
synced 2026-06-02 11:25:20 +00:00
15.1/relnotes: C23 Language Support
Reviewed by: fuz Approved by: re (implicit), fuz Differential Revision: https://reviews.freebsd.org/D57100
This commit is contained in:
@@ -460,21 +460,22 @@ gitref:6197518ee905[repository=src].
|
||||
Adds man:strdupa[3] and man:strndupa[3] functions, which allocate memory for a copy of a string on the stack using man:alloca[3]. This provides a convenient alternative to man:strdup[3] and man:strndup[3] for temporary string copies that are automatically freed when the function returns.
|
||||
gitref:b2e649a0b98d[repository=src].
|
||||
|
||||
Adds C23 `<stdbit.h>` header with bit manipulation functions like `stdc_bit_ceil()`, `stdc_bit_width()`, and `stdc_count_ones()`. This provides standard bit operations for C programs.
|
||||
gitref:275c11b7ccff[repository=src].
|
||||
|
||||
The C23 trigonometric functions from the `*pi` family (acospi, acospif etc.) have beed exposed in <math.h>. This provides standard-conforming APIs for applications using these functions.
|
||||
gitref:104488641aca[repository=src].
|
||||
|
||||
The C23 `memalignment()` function has been added to libc, allowing programs to compute pointer alignment. A man page has been included.
|
||||
gitref:24ea81047de7[repository=src].
|
||||
|
||||
The SONAME of libzfs and libzpool have been bumped to libzfs7 and libzpool7 due to ABI-breaking changes, requiring recompilation of dependent applications.
|
||||
gitref:5b2489caf266[repository=src].
|
||||
|
||||
Adds libuvmem, a userland port of the man:vmem[9] kernel memory allocator, providing a similar interface for userland applications.
|
||||
gitref:3ae14e8f332f[repository=src].
|
||||
|
||||
Partial support for the C23 version of the C Programming language is now available. It will continue to evolve, with complete support anticipated for FreeBSD 16. New features include the `<stdbit.h>` header, the man:memalignment[3] function, updates to the `<limits.h>` and `<stdint.h>` headers including the `_WIDTH` macros and `char8_t`, as well as various other extensions.
|
||||
gitref:275c11b7ccff[repository=src],
|
||||
gitref:104488641aca[repository=src],
|
||||
gitref:24ea81047de7[repository=src],
|
||||
gitref:5656d0f7453e[repository=src],
|
||||
gitref:72609bb2bb25[repository=src],
|
||||
gitref:ff50ace5fe0e[repository=src],
|
||||
gitref:cbad54ba46e6[repository=src],
|
||||
gitref:6fc280810ead[repository=src].
|
||||
|
||||
[[cloud]]
|
||||
== Cloud Support
|
||||
|
||||
|
||||
Reference in New Issue
Block a user