qsort man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

QSORT(2)							      QSORT(2)

NAME
       qsort - quicker sort

SYNOPSIS
       #include <u.h>
       #include <libc.h>

       void qsort(void *base, long nel, long width,
		int (*compar)(void*, void*))

DESCRIPTION
       Qsort  (quicker	sort)  sorts  an  array into nondecreasing order.  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 element in bytes; the
       last is the name of a comparison routine to be called with pointers  to
       elements being compared.	 The routine must return an integer less than,
       equal to, or greater than 0 according as the first argument  is	to  be
       considered less than, equal to, or greater than the second.

SOURCE
       /sys/src/libc/port/qsort.c

SEE ALSO
       sort(1)

								      QSORT(2)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net