Lines Matching refs:format
171 const char *format, ...);
551 safe_snprintf(char *s, size_t n, const char *format, ...)
555 va_start(ap, format);
557 len = vsnprintf(s, n, format, ap);
875 gettext("%s: %s: file format error\n"),
1122 * if the 'devname' has format like 'ath0', we should add the path to that
1123 * device(/dev/ath0) and open it; if the 'devname' has format like
1660 * construct the 'history' and 'scan' output format
1666 char *format;
1671 format = safe_malloc(FORMAT_LEN);
1674 len += snprintf(format + len, FORMAT_LEN - len, "\t");
1678 return (format);
2580 char format[256], *ntstr;
2603 * construct the output format in terms of the
2615 "data format error\n"),
2630 len = snprintf(format, sizeof (format), gettext("essid"));
2633 len += snprintf(format + len, sizeof (format) - len, "%s", ntstr);
2634 len += snprintf(format + len, sizeof (format) - len,
2637 if ((len <= 0) || (len > sizeof (format) - 1)) {
2641 (void) printf("%s", format);
3654 * contents's format varies from each kind of ioctl system call.
3674 char format[256], *ntstr;
3882 * construct the output format.
3886 len = snprintf(format, sizeof (format), gettext("essid"));
3889 len += snprintf(format + len, sizeof (format) - len, "%s",
3891 len += snprintf(format + len, sizeof (format) - len,
3894 if ((len <= 0) || (len > sizeof (format) - 1)) {
3898 (void) printf("%s", format);
3957 * with related value. gbuf has a format of wldp_t structure.
4460 * do_set: Called when set a parameter, the format should be