Sync glob(3) with FreeBSD:
[dragonfly.git] / contrib / ipfilter / kmem.h
blobf7056c2cf867b55e0cd763382c8bd1483252b8f6
1 /*
2 * Copyright (C) 1993-2001 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
5 * $Id: kmem.h,v 2.2.2.4 2002/01/01 13:43:48 darrenr Exp $
6 */
8 #ifndef __KMEM_H__
9 #define __KMEM_H__
11 #ifndef __P
12 # ifdef __STDC__
13 # define __P(x) x
14 # else
15 # define __P(x) ()
16 # endif
17 #endif
18 extern int openkmem __P((char *, char *));
19 extern int kmemcpy __P((char *, long, int));
20 extern int kstrncpy __P((char *, long, int));
21 extern char *getifname __P((void *));
23 #if defined(__NetBSD__) || defined(__OpenBSD)
24 # include <paths.h>
25 #endif
27 #ifdef _PATH_KMEM
28 # define KMEM _PATH_KMEM
29 #else
30 # define KMEM "/dev/kmem"
31 #endif
33 #endif /* __KMEM_H__ */