2 * modetoa - return an asciized mode
6 #include "lib_strbuf.h"
7 #include "ntp_stdlib.h"
15 static const char *modestrings[] = {
27 if (mode < 0 || mode >= (sizeof modestrings)/sizeof(char *)) {
29 (void)sprintf(bp, "mode#%d", mode);
33 return modestrings[mode];