Mono Class Library: Mono.Unix.Native.Syscall Overview | Members

Mono.Unix.Native.Syscall.chdir Method

Changes the current directory to 'path'. [Edit]

public static int chdir (string path)

Parameters

path
Documentation for this section has not yet been entered. [Edit]

Returns

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

Remarks

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

Requirements

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