4 * modetoa - return an asciized mode
8 #include "lib_strbuf.h"
9 #include "ntp_stdlib.h"
17 static const char *modestrings
[] = {
29 if (mode
< 0 || mode
>= (sizeof modestrings
)/sizeof(char *)) {
31 (void)sprintf(bp
, "mode#%d", mode
);
35 return modestrings
[mode
];