From 7ec97df3ee8edfd102fe573eaa61cf4e5c6284cb Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 27 Sep 2024 22:27:01 -0600 Subject: wip fixes --- notes.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 notes.md (limited to 'notes.md') diff --git a/notes.md b/notes.md new file mode 100644 index 0000000..344b1fa --- /dev/null +++ b/notes.md @@ -0,0 +1,50 @@ + +Which file to include: + +> The header is a subset of the header + +|----------------------------------------|-----------------------------------|--------------------------------| +| C INTS | | | +| `{CHAR,SHRT,INT,LONG,LLONG}_{MIN,MAX}` | `` | | +| `U{CHAR,SHRT,INT,LONG,LLONG}_MAX` | `` | | +|----------------------------------------|-----------------------------------|--------------------------------| +| C SIZED INTS | | | +| `(C u)int{n}_t` (and `_{MIN,MAX}`) | `` | exact | +| `(u)int_least{n}_t` (and `_{MIN,MAX}`) | `` | type may be more than `n` bits | +| `(u)int_fast{n}_t` (and `_{MIN,MAX}`) | `` | type may be more than `n` bits | +| `(u)intptr_t` (and `_{MIN,MAX}`) | `` | | +| `(u)intmax_t` (and `_{MIN,MAX}`) | `` | | +| `PRI*` | `` | | +| `SCN*` | `` | | +|----------------------------------------|-----------------------------------|--------------------------------| +| C ADDRESS INTS | | | +| `ptrdiff_t` | `` | | +| `PTRDIFF_{MIN,MAX}` | `` | | +| `size_t` | `` (or ``) | | +| `SIZE_MAX` | `` | | +|----------------------------------------|-----------------------------------|--------------------------------| +| C WCHAR INTS | | | +| `wchar_t` | `` | | +| `WCHAR_{MIN,MAX}` | `` | | +| `wint_t` | `` | | +| `WINT_{MIN,MAX}` | `` | | +|----------------------------------------|-----------------------------------|--------------------------------| +| POSIX INTS | | | +| `sig_atomic_t` | `` | | +| `SIG_ATOMIC_{MIN,MAX}` | `` | | +| `mode_t` | `` | unsigned | +| `dev_t` | `` | unsigned | +| `nlink_t` | `` | unsigned | +| `{u,g,}id_t` | `` | unsigned | +| `blkcnt_t` | `` | signed | +| `off_t` | `` | signed | +| `fsblkcnt_t` | `` | unsigned | +| `fsfilecnt_t` | `` | unsigned | +| `ino_t` | `` | unsigned | +| `blksize_t` | `` | signed | +| `pid_t` | `` | signed | +| `ssize_t` | `` | signed | +| `SSIZE_MAX` | `` | | +| `suseconds_t` | `` | signed | +| `clock_t` | `` | could be float | +| `time_t` | `` | signed | -- cgit v1.2.3-2-g168b