* Chdrive() changes the default drive. */
(str)
| 221 | * Chdrive() changes the default drive. |
| 222 | */ |
| 223 | void |
| 224 | chdrive(str) |
| 225 | char *str; |
| 226 | { |
| 227 | char *ptr; |
| 228 | char drive; |
| 229 | |
| 230 | if ((ptr = strchr(str, ':')) != (char *) 0) { |
| 231 | drive = toupper(*(ptr - 1)); |
| 232 | (void) Dsetdrv(drive - 'A'); |
| 233 | } |
| 234 | return; |
| 235 | } |
| 236 | |
| 237 | void |
| 238 | get_scr_size() |
nothing calls this directly
no outgoing calls
no test coverage detected