(query, resp, def)
| 49 | } |
| 50 | |
| 51 | char |
| 52 | mac_yn_function(query, resp, def) |
| 53 | const char *query, *resp; |
| 54 | char def; |
| 55 | /* |
| 56 | * Generic yes/no function. 'def' is the default (returned by space or |
| 57 | * return; 'esc' returns 'q', or 'n', or the default, depending on |
| 58 | * what's in the string. The 'query' string is printed before the user |
| 59 | * is asked about the string. |
| 60 | * If resp is NULL, any single character is accepted and returned. |
| 61 | */ |
| 62 | { |
| 63 | return topl_yn_function(query, resp, def); |
| 64 | } |
| 65 | |
| 66 | /* mactopl.c */ |
nothing calls this directly
no test coverage detected