xref: /csrg-svn/sys/libkern/libkern.h (revision 54184)
154183Sbostic /*-
254183Sbostic  * Copyright (c) 1992 The Regents of the University of California.
354183Sbostic  * All rights reserved.
454183Sbostic  *
554183Sbostic  * %sccs.include.redist.c%
654183Sbostic  *
7*54184Sbostic  *	@(#)libkern.h	7.2 (Berkeley) 06/21/92
854183Sbostic  */
954183Sbostic 
10*54184Sbostic #include <sys/types.h>
11*54184Sbostic 
1254183Sbostic /* Prototypes for non-quad routines. */
1354183Sbostic 
1454183Sbostic int	 bcmp __P((const void *, const void *, size_t));
1554183Sbostic int	 ffs __P((int));
16*54184Sbostic int	 imax __P((int, int));
17*54184Sbostic int	 imin __P((int, int));
18*54184Sbostic long	 lmax __P((long, long));
19*54184Sbostic long	 lmin __P((long, long));
20*54184Sbostic int	 locc __P((int, char *, u_int));
21*54184Sbostic u_int	 max __P((u_int, u_int));
22*54184Sbostic u_int	 min __P((u_int, u_int));
23*54184Sbostic int	 scanc __P((u_int, u_char *, u_char *, int));
24*54184Sbostic int	 skpc __P((int, int, char *));
2554183Sbostic char	*strcat __P((char *, const char *));
2654183Sbostic char	*strcpy __P((char *, const char *));
2754183Sbostic size_t	 strlen __P((const char *));
2854183Sbostic char	*strncpy __P((char *, const char *, size_t));
29*54184Sbostic u_long	 ulmax __P((u_long, u_long));
30*54184Sbostic u_long	 ulmin __P((u_long, u_long));
31