Clarified a bit on the os_fatal() and os_warn() functions that use va_list.
authorDavid Griffith <dave@661.org>
Fri, 28 Apr 2023 04:11:51 +0000 (21:11 -0700)
committerDavid Griffith <dave@661.org>
Fri, 28 Apr 2023 04:14:51 +0000 (21:14 -0700)
commit9970229ca2bb38041dda0c5765331634be6dc60a
tree77e52e71229e1da9a3296140782accc1fb0232fc
parent6e69f07a5f8faa800ecf92d6c1b4b1dd4ddeb0fa
Clarified a bit on the os_fatal() and os_warn() functions that use va_list.

The dumb interface does not use va_list printf functions because I'm not
entirely sure if the most primitive of C compilers will support them.
For this reason, the core must not call os_fatal() or os_warn() with
formatting.  For all other interfaces, formatting may be used as long as
the implementations of os_fatal() and os_warn() are written to support it.

It should be noted here that currently only the SDL interface uses os_warn().
src/common/frotz.h