libkern.h (132228) | libkern.h (141206) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)libkern.h 8.1 (Berkeley) 6/10/93 | 1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)libkern.h 8.1 (Berkeley) 6/10/93 |
30 * $FreeBSD: head/sys/sys/libkern.h 132228 2004-07-15 23:58:23Z glebius $ | 30 * $FreeBSD: head/sys/sys/libkern.h 141206 2005-02-03 15:10:58Z pjd $ |
31 */ 32 33#ifndef _SYS_LIBKERN_H_ 34#define _SYS_LIBKERN_H_ 35 36#include <sys/cdefs.h> 37#include <sys/types.h> 38#ifdef _KERNEL --- 39 unchanged lines hidden (view full) --- 78#endif 79#ifndef HAVE_INLINE_FLS 80int fls(int); 81#endif 82#ifndef HAVE_INLINE_FLSL 83int flsl(long); 84#endif 85int fnmatch(const char *, const char *, int); | 31 */ 32 33#ifndef _SYS_LIBKERN_H_ 34#define _SYS_LIBKERN_H_ 35 36#include <sys/cdefs.h> 37#include <sys/types.h> 38#ifdef _KERNEL --- 39 unchanged lines hidden (view full) --- 78#endif 79#ifndef HAVE_INLINE_FLS 80int fls(int); 81#endif 82#ifndef HAVE_INLINE_FLSL 83int flsl(long); 84#endif 85int fnmatch(const char *, const char *, int); |
86void gets(char *, size_t, int); |
|
86int locc(int, char *, u_int); 87void qsort(void *base, size_t nmemb, size_t size, 88 int (*compar)(const void *, const void *)); 89void qsort_r(void *base, size_t nmemb, size_t size, void *thunk, 90 int (*compar)(void *, const void *, const void *)); 91u_long random(void); 92char *index(const char *, int); 93char *rindex(const char *, int); --- 48 unchanged lines hidden --- | 87int locc(int, char *, u_int); 88void qsort(void *base, size_t nmemb, size_t size, 89 int (*compar)(const void *, const void *)); 90void qsort_r(void *base, size_t nmemb, size_t size, void *thunk, 91 int (*compar)(void *, const void *, const void *)); 92u_long random(void); 93char *index(const char *, int); 94char *rindex(const char *, int); --- 48 unchanged lines hidden --- |