minishell
ft_sort.h
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* ft_sort.h :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: kfujita <kfujita@student.42tokyo.jp> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2023/02/18 23:48:34 by kfujita #+# #+# */
9
/* Updated: 2023/02/19 00:43:17 by kfujita ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
13
#ifndef FT_SORT_H
14
# define FT_SORT_H
15
16
// - size_t
17
# include <stddef.h>
18
19
// - bool
20
# include <stdbool.h>
21
22
typedef
int (*
t_compar
)(
const
void
*,
const
void
*);
23
24
bool
ft_qsort
(
void
*base,
size_t
nmemb,
size_t
memb_size,
t_compar
compar);
25
26
#endif
t_compar
int(* t_compar)(const void *, const void *)
Definition:
ft_sort.h:22
ft_qsort
bool ft_qsort(void *base, size_t nmemb, size_t memb_size, t_compar compar)
Definition:
ft_qsort.c:50
libft
ft_sort
ft_sort.h
Generated by
1.9.1