rotatory_trunk()
#
Truncate a rotatory log file, clearing its contents.
Prototype
PUBLIC int rotatory_trunk(
int handle
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The handle of the rotatory log to truncate. |
Return Value
Returns 0
on success, 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