xref: /original-bsd/sys/libkern/libkern.h (revision 9640b10a)
1 /*-
2  * Copyright (c) 1992 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)libkern.h	7.3 (Berkeley) 06/24/92
8  */
9 
10 #include <sys/types.h>
11 
12 /* Prototypes for non-quad routines. */
13 
14 int	 bcmp __P((const void *, const void *, size_t));
15 int	 ffs __P((int));
16 int	 imax __P((int, int));
17 int	 imin __P((int, int));
18 long	 lmax __P((long, long));
19 long	 lmin __P((long, long));
20 int	 locc __P((int, char *, u_int));
21 u_int	 max __P((u_int, u_int));
22 u_int	 min __P((u_int, u_int));
23 u_long	 random __P((void));
24 int	 scanc __P((u_int, u_char *, u_char *, int));
25 int	 skpc __P((int, int, char *));
26 char	*strcat __P((char *, const char *));
27 char	*strcpy __P((char *, const char *));
28 size_t	 strlen __P((const char *));
29 char	*strncpy __P((char *, const char *, size_t));
30 u_long	 ulmax __P((u_long, u_long));
31 u_long	 ulmin __P((u_long, u_long));
32