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

Mono.Unix.Native.Syscall.creat Method

Creates a file 'pathname' using the given file mode flags. [Edit]

public static int creat (string pathname, FilePermissions mode)

See Also

Syscall.open

Parameters

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

Returns

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

Remarks

This interface is made obsolete by: Syscall.open(2) .

The creat() function is the same as:

Usage

open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);

[Edit]

Requirements

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