@c ---------------------------------------------------------------------- @node getdisk, dos @subheading Syntax @example #include int getdisk(void); @end example @subheading Description Gets the current disk (0=A). @xref{setdisk}. @subheading Return Value The current disk number. @subheading Portability @portability !ansi, !posix @subheading Example @example printf("This drive is %c:\n", getdisk() + 'A'); @end example