From 66ae04e2614b53bb96eac7370ffcebce3522e01a Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sat, 5 Oct 2024 11:53:55 -0600 Subject: notes: add _C macros --- notes.md | 90 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'notes.md') diff --git a/notes.md b/notes.md index f146ed4..c1427ce 100644 --- a/notes.md +++ b/notes.md @@ -3,51 +3,51 @@ 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 | +|------------------------------------------|-----------------------------------|--------------------------------| +| 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,C}`) | `` | exact | +| `(u)int_least{n}_t` (and `_{MIN,MAX,C}`) | `` | type may be more than `n` bits | +| `(u)int_fast{n}_t` (and `_{MIN,MAX,C}`) | `` | type may be more than `n` bits | +| `(u)intptr_t` (and `_{MIN,MAX,C}`) | `` | | +| `(u)intmax_t` (and `_{MIN,MAX,C}`) | `` | | +| `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 | Here's my reading of the lowest-bitrate possible for our HDMI sink: -- cgit v1.2.3-2-g168b