guint width, sign, hex, humanize, bytes, frac_width, i;
f_str_t *v;
GString *gs;
+ gboolean bv;
if (max <= 0) {
return buf;
continue;
+ case 'b':
+ bv = (gboolean) va_arg (args, double);
+ if (bv) {
+ len = MIN (last - buf, 4);
+ memcpy (buf, "true", len);
+ }
+ else {
+ len = MIN (last - buf, 5);
+ memcpy (buf, "false", len);
+ }
+ fmt++;
+
+ continue;
+
case 'G':
f = (long double) va_arg (args, long double);
* %[0][width][.width]F long double
* %[0][width][.width]g double
* %[0][width][.width]G long double
+ * %b boolean (true or false)
* %P pid_t
* %r rlim_t
* %p void *