www.delorie.com/djgpp/doc/libc-2.01/libc_565.html   search  
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.

Example

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


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997