Functions HI-TECH C PUTW
From HI-TECH C for CP/M Fan WIKI(EN)
#include <stdio.h> int putw(int w, FILE * stream)
Putw() copies the word w to the given stream. It returns w, except on error, in which case EOF is returned. Since this is a good integer, ferror() should be used to check for errors.
getw, fopen, fclose