•  Back 
  •  Directory functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File5.16.7  Dgetcwd                                                    TOS

 Name:         »Dgetcwd« - Obtain the current directory of a process.

 Opcode:       315

 Syntax:       int32_t Dgetcwd ( int8_t *path, int16_t drv, int16_t 
               size );

 Description:  The current working directory of the active process in 
               drive drv is returned. The parameter size gives the 
               size of the buffer for accommodating the name.

 Return value: path: Directory of the current process.

               The return value of the function is either 0 (all OK), 
               ERANGE (the size of the buffer is insufficient to hold 
               the exact description of the directory), or EDRIVE 
               (invalid GEMDOS ignore} drive).

 Availability: Available when a 'MiNT' cookie with a version of at 
               least 0.96 exists, and MagiC as of Version 3.0.

 Group:        Directory functions

 See also:     Binding   Dgetpath