Skip to content

Commit 3ad62c0

Browse files
committed
Update portability notes
Also source the deemon script I've been using to generate these notes, just because it took me forever to find it, having changed PCs since the last time I used it...
1 parent 27ee269 commit 3ad62c0

File tree

15 files changed

+802
-31
lines changed

15 files changed

+802
-31
lines changed

kos/include/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,16 @@ The only purpose of portability notes is to give the Programmer an idea of how w
3939
- ISO C95 (ISO/IEC 9899:1990/AMD1:1995)
4040
- ISO C99 (ISO/IEC 9899:1999)
4141
- ISO C11 (ISO/IEC 9899:2011)
42+
- ISO C17 (ISO/IEC 9899:2018)
43+
- ISO C23 (ISO/IEC 9899:2024)
4244
- [ISO C++](https://de.wikipedia.org/wiki/C++)
4345
- ISO C++98 (ISO/IEC 14882:1998)
4446
- ISO C++03 (ISO/IEC 14882:2003)
4547
- ISO C++11 (ISO/IEC 14882:2011)
4648
- ISO C++14 (ISO/IEC 14882:2014)
4749
- ISO C++17 (ISO/IEC 14882:2017)
4850
- ISO C++20 (ISO/IEC 14882:2020)
51+
- ISO C++23 (ISO/IEC 14882:2024)
4952

5053

5154
#### Mentioned Libraries

kos/include/aliases.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* HASH CRC-32:0x1a24653 */
1+
/* HASH CRC-32:0x8fdd425 */
22
/* Copyright (c) 2019-2025 Griefer@Work *
33
* *
44
* This software is provided 'as-is', without any express or implied *
@@ -18,7 +18,7 @@
1818
* misrepresented as being the original software. *
1919
* 3. This notice may not be removed or altered from any source distribution. *
2020
*/
21-
/* (#) Portability: GNU C Library (/inet/aliases.h) */
21+
/* (#) Portability: GNU C Library (/nss/aliases.h) */
2222
/* (#) Portability: GNU Hurd (/usr/include/aliases.h) */
2323
/* (#) Portability: libc6 (/include/aliases.h) */
2424
#ifndef _ALIASES_H

kos/include/crypt.h

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* HASH CRC-32:0xf902fe4c */
1+
/* HASH CRC-32:0x5c7f2154 */
22
/* Copyright (c) 2019-2025 Griefer@Work *
33
* *
44
* This software is provided 'as-is', without any express or implied *
@@ -18,15 +18,14 @@
1818
* misrepresented as being the original software. *
1919
* 3. This notice may not be removed or altered from any source distribution. *
2020
*/
21-
/* (#) Portability: EMX kLIBC (/libc/include/crypt.h) */
22-
/* (#) Portability: FreeBSD (/lib/libcrypt/crypt.h) */
23-
/* (#) Portability: GNU C Library (/crypt/crypt.h) */
24-
/* (#) Portability: GNU Hurd (/usr/include/crypt.h) */
25-
/* (#) Portability: OpenSolaris (/usr/src/head/crypt.h) */
26-
/* (#) Portability: libc6 (/include/crypt.h) */
27-
/* (#) Portability: mintlib (/include/crypt.h) */
28-
/* (#) Portability: musl libc (/include/crypt.h) */
29-
/* (#) Portability: uClibc (/include/crypt.h) */
21+
/* (#) Portability: EMX kLIBC (/libc/include/crypt.h) */
22+
/* (#) Portability: FreeBSD (/lib/libcrypt/crypt.h) */
23+
/* (#) Portability: GNU Hurd (/usr/include/crypt.h) */
24+
/* (#) Portability: OpenSolaris (/usr/src/head/crypt.h) */
25+
/* (#) Portability: libc6 (/include/crypt.h) */
26+
/* (#) Portability: mintlib (/include/crypt.h) */
27+
/* (#) Portability: musl libc (/include/crypt.h) */
28+
/* (#) Portability: uClibc (/include/crypt.h) */
3029
#ifndef _CRYPT_H
3130
#define _CRYPT_H 1
3231

kos/include/grp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* HASH CRC-32:0x63908e1f */
1+
/* HASH CRC-32:0x6e89ac79 */
22
/* Copyright (c) 2019-2025 Griefer@Work *
33
* *
44
* This software is provided 'as-is', without any express or implied *
@@ -24,7 +24,7 @@
2424
/* (#) Portability: DragonFly BSD (/include/grp.h) */
2525
/* (#) Portability: EMX kLIBC (/libc/include/grp.h) */
2626
/* (#) Portability: FreeBSD (/include/grp.h) */
27-
/* (#) Portability: GNU C Library (/grp/grp.h) */
27+
/* (#) Portability: GNU C Library (/nss/grp.h) */
2828
/* (#) Portability: GNU Hurd (/usr/include/grp.h) */
2929
/* (#) Portability: NetBSD (/include/grp.h) */
3030
/* (#) Portability: Newlib (/newlib/libc/include/grp.h) */

kos/include/pwd.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* HASH CRC-32:0x868ce102 */
1+
/* HASH CRC-32:0x6b642714 */
22
/* Copyright (c) 2019-2025 Griefer@Work *
33
* *
44
* This software is provided 'as-is', without any express or implied *
@@ -24,7 +24,7 @@
2424
/* (#) Portability: DragonFly BSD (/include/pwd.h) */
2525
/* (#) Portability: EMX kLIBC (/libc/include/pwd.h) */
2626
/* (#) Portability: FreeBSD (/include/pwd.h) */
27-
/* (#) Portability: GNU C Library (/pwd/pwd.h) */
27+
/* (#) Portability: GNU C Library (/nss/pwd.h) */
2828
/* (#) Portability: GNU Hurd (/usr/include/pwd.h) */
2929
/* (#) Portability: NetBSD (/include/pwd.h) */
3030
/* (#) Portability: Newlib (/newlib/libc/include/pwd.h) */

kos/include/shadow.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* HASH CRC-32:0x60fbd32 */
1+
/* HASH CRC-32:0x77ef7c */
22
/* Copyright (c) 2019-2025 Griefer@Work *
33
* *
44
* This software is provided 'as-is', without any express or implied *
@@ -18,7 +18,7 @@
1818
* misrepresented as being the original software. *
1919
* 3. This notice may not be removed or altered from any source distribution. *
2020
*/
21-
/* (#) Portability: GNU C Library (/shadow/shadow.h) */
21+
/* (#) Portability: GNU C Library (/nss/shadow.h) */
2222
/* (#) Portability: GNU Hurd (/usr/include/shadow.h) */
2323
/* (#) Portability: OpenSolaris (/usr/src/head/shadow.h) */
2424
/* (#) Portability: diet libc (/include/shadow.h) */

kos/include/stdalign.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/* (#) Portability: FreeBSD (/include/stdalign.h) */
2323
/* (#) Portability: NetBSD (/include/stdalign.h) */
2424
/* (#) Portability: PDCLib (/include/stdalign.h) */
25+
/* (#) Portability: Windows Kits (/ucrt/stdalign.h) */
2526
/* (#) Portability: musl libc (/include/stdalign.h) */
2627
/*!ignore_unnecessary_include*/
2728
#ifndef _STDALIGN_H

kos/include/stdnoreturn.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/* (#) Portability: FreeBSD (/include/stdnoreturn.h) */
2323
/* (#) Portability: NetBSD (/include/stdnoreturn.h) */
2424
/* (#) Portability: PDCLib (/include/stdnoreturn.h) */
25+
/* (#) Portability: Windows Kits (/ucrt/stdnoreturn.h) */
2526
/* (#) Portability: musl libc (/include/stdnoreturn.h) */
2627
/*!ignore_unnecessary_include*/
2728
#ifndef _STDNORETURN_H

kos/misc/scripts/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
routes-x86_64.txt
2+
files-sorted.txt
3+
files.txt

0 commit comments

Comments
 (0)