qsort.3
来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 3 代码 · 共 27 行
3
27 行
.TH QSORT 3 .SH NAMEqsort \- quicker sort.SH SYNOPSIS.B qsort(base, nel, width, compar).br.B char *base;.br.B int (*compar)( );.SH DESCRIPTION.I Qsortis an implementationof the quicker-sort algorithm.The first argument is a pointer to the base of the data;the second is the number of elements;the third is the width of an elementin bytes;the last is the name of the comparison routineto be called with two arguments which are pointersto the elements being compared.The routine must returnan integer less than, equal to, or greater than 0according as the first argument is to be consideredless than, equal to, or greater than the second..SH "SEE ALSO"sort(1)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?