Go to the first, previous, next, last section, table of contents.


setdisk

Syntax

#include <dir.h>

int setdisk(int drive);

Description

This function sets the current disk (0=A).

See section getdisk

Return Value

The total number of possible drives.

Portability

not ANSI, not POSIX

Example

printf("There are %d drives\n", setdisk(getdisk()));


Go to the first, previous, next, last section, table of contents.