154183Sbostic /*- 254183Sbostic * Copyright (c) 1992 The Regents of the University of California. 354183Sbostic * All rights reserved. 454183Sbostic * 554183Sbostic * %sccs.include.redist.c% 654183Sbostic * 7*54354Storek * @(#)libkern.h 7.3 (Berkeley) 06/24/92 854183Sbostic */ 954183Sbostic 1054184Sbostic #include <sys/types.h> 1154184Sbostic 1254183Sbostic /* Prototypes for non-quad routines. */ 1354183Sbostic 1454183Sbostic int bcmp __P((const void *, const void *, size_t)); 1554183Sbostic int ffs __P((int)); 1654184Sbostic int imax __P((int, int)); 1754184Sbostic int imin __P((int, int)); 1854184Sbostic long lmax __P((long, long)); 1954184Sbostic long lmin __P((long, long)); 2054184Sbostic int locc __P((int, char *, u_int)); 2154184Sbostic u_int max __P((u_int, u_int)); 2254184Sbostic u_int min __P((u_int, u_int)); 23*54354Storek u_long random __P((void)); 2454184Sbostic int scanc __P((u_int, u_char *, u_char *, int)); 2554184Sbostic int skpc __P((int, int, char *)); 2654183Sbostic char *strcat __P((char *, const char *)); 2754183Sbostic char *strcpy __P((char *, const char *)); 2854183Sbostic size_t strlen __P((const char *)); 2954183Sbostic char *strncpy __P((char *, const char *, size_t)); 3054184Sbostic u_long ulmax __P((u_long, u_long)); 3154184Sbostic u_long ulmin __P((u_long, u_long)); 32