pub unsafe extern "C" fn EN_setpatternid(
ph: EN_Project,
index: c_int,
id: *const c_char,
) -> c_intExpand description
@brief Changes the ID name of a time pattern given its index. @param ph an EPANET project handle. @param index a time pattern index (starting from 1). @param id the time pattern’s new ID name. @return an error code.
The new ID name must not exceed @ref EN_SizeLimits “EN_MAXID” characters.