2 * modetoa - return an asciized mode
7 #include "lib_strbuf.h"
8 #include "ntp_stdlib.h"
16 static const char * const modestrings[] = {
28 if (mode >= COUNTOF(modestrings)) {
30 snprintf(bp, LIB_BUFLENGTH, "mode#%zu", mode);
34 return modestrings[mode];