Searched refs:paddecimal (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcexpand.c71 int paddecimal = 0; local
103 paddecimal += atoi(padbuffer);
144 if (paddecimal > 10) {
145 paddigits += paddecimal / 10;
146 paddecimal %= 10;
149 if (paddigits > 0 && paddecimal > 0)
150 (void) sprintf(padbuffer, "%d.%d", paddigits, paddecimal);
153 else if (paddecimal > 0)
154 (void) sprintf(padbuffer, ".%d", paddecimal);
158 *padding = paddecimal;
[all...]

Completed in 54 milliseconds