Dear OpenBSD developers,
Apologies in advance if I am sending this to the wrong list...
A few years ago, Frederic Cambus packaged Star Traders, my simple
game of interstellar trading, for OpenBSD ("trader"). In doing so,
he bundled FreeBSD's version of strfmon() as that function is
required by my program.
Longer term, however, could OpenBSD include <monetary.h>, strfmon()
and strfmon_l(), possibly by copying these from the latest version
of FreeBSD. I searched some OpenBSD mailing lists; the only one I
could find with any mention of strfmon() was openbsd-tech, with most
posts dating back to 2013.
For reference, the following program shows the problem:
$ wget -N https://www.zap.org.au/software/utils/scripts/strfmon.c
$ cc -o strfmon strfmon.c
strfmon.c:26:10: fatal error: 'monetary.h' file not found
#include <monetary.h>
^~~~~~~~~~~~
1 error generated.
Yours truly,
John Zaitseff
--
John Zaitseff ╭───╮ Email: [email protected]
The ZAP Group │ Z │ GnuPG: 0x0D254111C4EE569B
Australia Inc. ╰───╯ https://www.zap.org.au/~john/