Skip to main content

iPsort

Function iPsort 

Source
unsafe fn iPsort(x: *mut c_int, n: c_int, k: c_int)
Expand description

Partial sort integers (moves k-th smallest to position k).

ยงParameters

  • x: Pointer to integer array
  • n: Number of elements
  • k: Target position (0-indexed) Checked wrapper for iPsort. Calls iPsort_unchecked and routes through with_r_thread. Generated from source location line 3440, column 8. Generated from source file miniextendr-api/src/ffi.rs.