Mono.Unix.Native.Syscall.creat Method
Creates a file 'pathname' using the given file mode flags.

Syntax

public static int creat (string pathname, FilePermissions mode)

See Also

Syscall.open

Parameters

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

Returns

Documentation for this section has not yet been entered.

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);

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