Mono.Unix.Native.Syscall.chdir Method
Changes the current directory to 'path'.

Syntax

public static int chdir (string path)

Parameters

path
Documentation for this section has not yet been entered.

Returns

On success, zero is returned. On error, -1 is returned and Stdlib.GetLastError can be used to retreive the translated error.

Remarks

See chrdir(2) for more information and error codes.

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0