Line -... |
Line 1... |
- |
|
1 |
#
|
- |
|
2 |
# Copyright (c) 2002-2005 The TenDRA Project <http://www.tendra.org/>
|
- |
|
3 |
# 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 |
#
|
- |
|
9 |
# 1. Redistributions of source code must retain the above copyright
|
- |
|
10 |
# notice, this list of conditions and the following disclaimer.
|
- |
|
11 |
# 2. Redistributions in binary form must reproduce the above copyright
|
- |
|
12 |
# notice, this list of conditions and the following disclaimer in the
|
- |
|
13 |
# documentation and/or other materials provided with the distribution.
|
- |
|
14 |
#
|
- |
|
15 |
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
- |
|
16 |
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
- |
|
17 |
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
- |
|
18 |
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
- |
|
19 |
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
- |
|
20 |
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
- |
|
21 |
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
- |
|
22 |
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
- |
|
23 |
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
- |
|
24 |
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
- |
|
25 |
# SUCH DAMAGE.
|
- |
|
26 |
#
|
1 |
# Crown Copyright (c) 1997
|
27 |
# Crown Copyright (c) 1997
|
2 |
#
|
28 |
#
|
3 |
# This TenDRA(r) Computer Program is subject to Copyright
|
29 |
# This TenDRA(r) Computer Program is subject to Copyright
|
4 |
# owned by the United Kingdom Secretary of State for Defence
|
30 |
# owned by the United Kingdom Secretary of State for Defence
|
5 |
# acting through the Defence Evaluation and Research Agency
|
31 |
# acting through the Defence Evaluation and Research Agency
|
Line 23... |
Line 49... |
23 |
# (4) DERA gives no warranty or assurance as to its
|
49 |
# (4) DERA gives no warranty or assurance as to its
|
24 |
# quality or suitability for any purpose and DERA accepts
|
50 |
# quality or suitability for any purpose and DERA accepts
|
25 |
# no liability whatsoever in relation to any use to which
|
51 |
# no liability whatsoever in relation to any use to which
|
26 |
# it may be put.
|
52 |
# it may be put.
|
27 |
#
|
53 |
#
|
- |
|
54 |
# $Id$
|
- |
|
55 |
#
|
- |
|
56 |
|
28 |
+IMPLEMENT "ansi", "stddef.h", "null" (!?) ;
|
57 |
+IMPLEMENT "ansi", "stddef.h", "null" (!?) ;
|
29 |
+IMPLEMENT "ansi", "stddef.h", "size_t" (!?) ;
|
58 |
+IMPLEMENT "ansi", "stddef.h", "size_t" (!?) ;
|
30 |
|
59 |
|
31 |
+FUNC char *strcat ( char *, const char * ) ;
|
60 |
+FUNC char *strcat ( char *, const char * ) ;
|
32 |
+FUNC int strcmp ( const char *, const char * ) ;
|
61 |
+FUNC int strcmp ( const char *, const char * ) ;
|
Line 43... |
Line 72... |
43 |
# These are overloaded in C++
|
72 |
# These are overloaded in C++
|
44 |
+FUNC char *strchr ( const char *, int ) ;
|
73 |
+FUNC char *strchr ( const char *, int ) ;
|
45 |
+FUNC char *strrchr ( const char *, int ) ;
|
74 |
+FUNC char *strrchr ( const char *, int ) ;
|
46 |
+FUNC char *strpbrk ( const char *, const char * ) ;
|
75 |
+FUNC char *strpbrk ( const char *, const char * ) ;
|
47 |
+FUNC char *strstr ( const char *, const char * ) ;
|
76 |
+FUNC char *strstr ( const char *, const char * ) ;
|
48 |
+IFNDEF __JUST_POSIX
|
77 |
+IFNDEF __JUST_POSIX
|
49 |
+FUNC void *memchr ( const void *, int, size_t ) ;
|
78 |
+FUNC void *memchr ( const void *, int, size_t ) ;
|
50 |
+ENDIF
|
79 |
+ENDIF
|
51 |
+ENDIF
|
80 |
+ENDIF
|
52 |
|
81 |
|
53 |
+IFNDEF __JUST_POSIX
|
82 |
+IFNDEF __JUST_POSIX
|
Line 59... |
Line 88... |
59 |
+FUNC size_t strxfrm ( char *, const char *, size_t ) ;
|
88 |
+FUNC size_t strxfrm ( char *, const char *, size_t ) ;
|
60 |
+IFNDEF __JUST_XPG3
|
89 |
+IFNDEF __JUST_XPG3
|
61 |
+FUNC void *memmove ( void *, const void *, size_t ) ;
|
90 |
+FUNC void *memmove ( void *, const void *, size_t ) ;
|
62 |
+ENDIF
|
91 |
+ENDIF
|
63 |
+ENDIF
|
92 |
+ENDIF
|
- |
|
93 |
|
- |
|
94 |
# vim:set filetype=tspec:
|