Attempted rewrite of _display_get_fmt()`, it currently doesn"t work. To compile using the old functional but (probably) unsafe function, pass `-D_DEBUG_USE_UNSAFE_DISPLAY_FMT_ARGS` in `CFLAGS`.
TODO: Find out why _display_get_fmt_n()` is so broken...
TODO: Make `_display_get_fmt()` a function alias instead of macro definition
Fixed `deprecated` macro conflicts with attribute usage. (renamed to `_deprecated`)
Fortune for naka's current commit: Half blessing − 半吉
usizew=s_strncpy_n(str,n,fmts[!!matched],n);// SAFETY: Will never read past `fmts[x]` nul-terminator, so setting n as both dest and src length here is safe.
//TODO: Fix this... It isn't working...
#define ADDSTR(s) do { \
debug_assert((s)); \
w=MINx(s_strncat_n(str,n,(s),n),n); \
/* Remove written from `n` */ \
n-=w; \
/* Check if we have written into the limit (if so, w will be equal to n above, since w is high-bounded to n by `MINx()` above. So if n is 0, we have hit the limit. */ \
ifU(!n){ \
/*XXX: Should this be `str[w-1]?` If this assert fails then yes it should. */ \