Home
last modified time | relevance | path

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

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