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

/osnet-11/usr/src/lib/libcurses/screen/
H A Dscr_reset.c187 int colors, color_pairs; local
192 /* less colors (or color_pairs) than the old terminal, or */
200 (fread((char *) &color_pairs, sizeof (int), 1,
206 colors > max_colors || color_pairs > max_pairs) {
208 color_pairs * sizeof (_Color_pair)), 1) != 0)
246 /* read color_pairs info. call init_pair for each pair */
249 malloc(color_pairs * sizeof (_Color_pair)))) ==
252 if (fread(ptp, sizeof (_Color_pair), color_pairs,
253 filep) != color_pairs) {
264 for (i = 1, ++ptp; i <= color_pairs;
[all...]

Completed in 28 milliseconds