MCPcopy Create free account
hub / github.com/NetHack/NetHack / chdrive

Function chdrive

outdated/sys/atari/tos.c:223–235  ·  view source on GitHub ↗

* Chdrive() changes the default drive. */

(str)

Source from the content-addressed store, hash-verified

221 * Chdrive() changes the default drive.
222 */
223void
224chdrive(str)
225char *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
237void
238get_scr_size()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected