NAME

zkCreat - create a new file or rewrite an existing one

SYNOPSIS

#include "zkFcntl.h"

int zkCreat(const char* path, mode_t mode);

DESCRIPTION

The function call:

zkCreat(path, mode)

is equivalent to:

zkOpen(path, O_WRONLY|O_CREAT|O_TRUNC, mode)

RETURN VALUE

Refer to zkOpen().

ERRORS

Refer to zkOpen().

DERIVATION

Derived from Issue 1 of the SVID.