repo.or.cz
/
linux-2.6.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
KEYS: Improve /proc/keys
[linux-2.6.git]
/
include
/
linux
/
sort.h
blob
d534da2b55750983571987b33761e09da71babc4
1
#ifndef _LINUX_SORT_H
2
#define _LINUX_SORT_H
3
4
#include <linux/types.h>
5
6
void
sort
(
void
*
base
,
size_t
num
,
size_t
size
,
7
int
(*
cmp
)(
const void
*,
const void
*),
8
void
(*
swap
)(
void
*,
void
*,
int
));
9
10
#endif