•  Back 
  •  Verzeichnisfunktionen 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - das Betriebssystem
Author      : 
Version     : tos.hyp (5. März 2013)
Subject     : Programmieren/Atari
Nodes       : 3001
Index Size  : 93602
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Titel
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File5.15.1  Dchroot                                                    TOS

 Name:         »Dchroot« - changes the root directory for the calling 
               process

 Gemdosnummer: 330 (0x014a)

 Deklaration:  int32_t Dchroot( int8_t *path );

 Beschreibung: The path parameter is a pathname of the folder that 
               will be the new root directory for the calling process. 
               Directories and files which are outside to the 
               specified tree will be no longer accessible.

               Dchroot does not automatically change the current 
               directory to the newly specified root. Also, the call 
               needs root privileges to operate properly. This 
               function is used by e.g. ftpd to limit the user 
               privileges in accessing filesystems.

 Ergebnis:     Returns the E_OK on success or a negative GEMDOS error 
               code otherwise.

 Verfügbar     Available as of FreeMiNT version 1.15.4

 Gruppe:       Verzeichnisfunktionen

 Querverweis:  Binding   Dopendir   Dreaddir   MagiC