Sync usage with man page.
[netbsd-mini2440.git] / dist / ipf / lib / kmem.h
blob794903cee7c1f2e4a08890337e7a8630ad4ec8f0
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 2002 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
7 * Id: kmem.h,v 1.2.4.1 2006/06/16 17:21:04 darrenr Exp
8 */
10 #ifndef __KMEM_H__
11 #define __KMEM_H__
13 #ifndef __P
14 # ifdef __STDC__
15 # define __P(x) x
16 # else
17 # define __P(x) ()
18 # endif
19 #endif
20 extern int openkmem __P((char *, char *));
21 extern int kmemcpy __P((char *, long, int));
22 extern int kstrncpy __P((char *, long, int));
24 #if defined(__NetBSD__) || defined(__OpenBSD)
25 # include <paths.h>
26 #endif
28 #ifdef _PATH_KMEM
29 # define KMEM _PATH_KMEM
30 #else
31 # define KMEM "/dev/kmem"
32 #endif
34 #endif /* __KMEM_H__ */