@node setdisk, dos @subheading Syntax @example #include int setdisk(int drive); @end example @subheading Description This function sets the current disk (0=A). See also @ref{getdisk}. @subheading Return Value The highest drive actually present that the system can reference. @subheading Portability @portability !ansi, !posix @subheading Example @example printf("There are %d drives\n", setdisk(getdisk())); @end example