[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

FpChdir

Change current working directory.

Declaration

Source position: line 0

function FpChdir(

  path: pChar

):cInt;

function FpChdir(

  path: AnsiString

):cInt;

Description

fpChDir sets the current working directory to Path.

It returns zero if the call was succesful, -1 on error.

Errors

Extended error information can be retrieved using fpGetErrno.

See also

fpGetCwd

  

Retrieve the current working directory.