Displaying 2 results from an estimated 2 matches for "fmtnum".
Did you mean:
  bitnum
  
2000 Jan 06
1
bsd-snprintf.c and NeXT.
I'm wonder if anyone happens to have a simplier (slower) version of
bsd-snprintf.c.  It seems NeXT 3.3 (unsure about 4.2) is missing
mprotect().
If I could get something to replace that for a while and fix some of
theses utmp in login.c issues I may have a rough port NeXT to black
hardware.=)
Thanks
1999 Dec 10
0
snprintf from postgresql
...(count > 0)
		end[0] = 0;
	if (SnprfOverflow)
		elog(NOTICE, "vsnprintf overflow, len = %d, str = %s",
			 count, str);
	return strlen(str);
}
/*
 * dopr(): poor man's version of doprintf
 */
static void fmtstr(char *value, int ljust, int len, int zpad, int maxwidth);
static void fmtnum(long_long value, int base, int dosign, int ljust, int len, int zpad);
static void fmtfloat(double value, char type, int ljust, int len, int precision, int pointflag);
static void dostr(char *str, int cut);
static void dopr_outch(int c);
static char *output;
static void
dopr(char *buffer, const c...