]>
Commit | Line | Data |
---|---|---|
feb1422b | 1 | /** @file\r |
2 | Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r | |
3 | This program and the accompanying materials are licensed and made available under\r | |
4 | the terms and conditions of the BSD License that accompanies this distribution.\r | |
5 | The full text of the license may be found at\r | |
6 | http://opensource.org/licenses/bsd-license.\r | |
7 | \r | |
8 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
9 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
10 | \r | |
11 | Copyright (c) 1998 The NetBSD Foundation, Inc.\r | |
12 | All rights reserved.\r | |
13 | \r | |
14 | This code is derived from software contributed to The NetBSD Foundation\r | |
15 | by Klaus Klein.\r | |
16 | \r | |
17 | Redistribution and use in source and binary forms, with or without\r | |
18 | modification, are permitted provided that the following conditions\r | |
19 | are met:\r | |
20 | 1. Redistributions of source code must retain the above copyright\r | |
21 | notice, this list of conditions and the following disclaimer.\r | |
22 | 2. Redistributions in binary form must reproduce the above copyright\r | |
23 | notice, this list of conditions and the following disclaimer in the\r | |
24 | documentation and/or other materials provided with the distribution.\r | |
25 | \r | |
26 | THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS\r | |
27 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\r | |
28 | TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r | |
29 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\r | |
30 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r | |
31 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r | |
32 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r | |
33 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r | |
34 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r | |
35 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r | |
36 | POSSIBILITY OF SUCH DAMAGE.\r | |
37 | \r | |
38 | NetBSD: strings.h,v 1.13 2008/04/28 20:22:54 martin Exp\r | |
39 | */\r | |
40 | #ifndef _STRINGS_H_\r | |
41 | #define _STRINGS_H_\r | |
42 | \r | |
43 | #include <machine/ansi.h>\r | |
44 | #include <sys/featuretest.h>\r | |
45 | \r | |
46 | __BEGIN_DECLS\r | |
47 | void bzero(void *, size_t);\r | |
48 | int ffs(int);\r | |
49 | __END_DECLS\r | |
50 | \r | |
51 | #define index(x,y) strchr((x), (y))\r | |
52 | #define rindex(x,y) strrchr((x), (y))\r | |
53 | \r | |
54 | #include <string.h>\r | |
55 | \r | |
56 | #endif /* !defined(_STRINGS_H_) */\r |