pub unsafe extern "C" fn aeron_archive_truncate_recording(
    count_p: *mut i64,
    aeron_archive: *mut aeron_archive_t,
    recording_id: i64,
    position: i64,
) -> c_int
Expand description

Truncate a stopped recording to the specified position. The position must be less than the stopped position. The position must be on a fragment boundary. Truncating a recording to the start position effectively deletes the recording.

@param count_p out param set to the number of segments deleted @param aeron_archive the archive client @param recording_id the id of the recording @param position the position to which the recording will be truncated @return 0 for success, -1 for failure