| 317 | } |
| 318 | |
| 319 | const char * |
| 320 | attr2attrname(int attr) |
| 321 | { |
| 322 | int i; |
| 323 | |
| 324 | for (i = 0; i < SIZE(attrnames); i++) |
| 325 | if (attrnames[i].attr == attr) |
| 326 | return attrnames[i].name; |
| 327 | return (char *) 0; |
| 328 | } |
| 329 | |
| 330 | /* |
| 331 | * Color support functions and data for "color" |
no outgoing calls
no test coverage detected