rotatory_write()

rotatory_write()#

Write data to a rotatory log file.

Prototype

PUBLIC int rotatory_write(
    int          handle,
    const void  *data,
    size_t       size
);
        

Parameters

Key

Type

Description

handle

int

The handle of the rotatory log to write to.

data

const void *

The data to write.

size

size_t

The size of the data in bytes.


Return Value

Returns the number of bytes successfully written, or a negative value on failure.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples