Chip noticed that the intended optionality of the 'IV' was
[p5sagit/p5-mst-13.2.git] / NetWare / CLIBstr.h
CommitLineData
2986a63f 1
2/*
3 * Copyright © 2001 Novell, Inc. All Rights Reserved.
4 *
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
7 *
8 */
9
10/*
11 * FILENAME : CLIBstr.h
12 * DESCRIPTION : Forces the use of clib string.h calls over static watcom calls
13 * for C/C++ applications that statically link watcom libraries.
14 *
15 * This file must be included each time that string.h is included.
16 * In the case of the Perl project, just include string.h and
17 * the make should take care of the rest.
18 * Author : HYAK
19 * Date : January 2001.
20 *
21 */
22
23
24
25#ifndef _CLIBSTR_H_
26#define _CLIBSTR_H_
27
28
29#ifdef DEFINE_GPF
30#define _GPFINIT =0
31#define _GPFEXT
32#else
33#define _GPFINIT
34#define _GPFEXT extern
35#endif
36
37#ifdef __cplusplus
38extern "C"
39{
40#endif
41
42_GPFEXT void* gpf_memchr _GPFINIT;
43_GPFEXT void* gpf_memcmp _GPFINIT;
44_GPFEXT void* gpf_memcpy _GPFINIT;
45_GPFEXT void* gpf_memmove _GPFINIT;
46_GPFEXT void* gpf_memset _GPFINIT;
47_GPFEXT void* gpf_strchr _GPFINIT;
48_GPFEXT void* gpf_strcmp _GPFINIT;
49_GPFEXT void* gpf_strcoll _GPFINIT;
50_GPFEXT void* gpf_strcspn _GPFINIT;
51_GPFEXT void* gpf_strerror _GPFINIT;
52_GPFEXT void* gpf_strtok_r _GPFINIT;
53_GPFEXT void* gpf_strpbrk _GPFINIT;
54_GPFEXT void* gpf_strrchr _GPFINIT;
55_GPFEXT void* gpf_strspn _GPFINIT;
56_GPFEXT void* gpf_strstr _GPFINIT;
57_GPFEXT void* gpf_strtok _GPFINIT;
58_GPFEXT void* gpf_strxfrm _GPFINIT;
59_GPFEXT void* gpf_memicmp _GPFINIT;
60_GPFEXT void* gpf_strcmpi _GPFINIT;
61_GPFEXT void* gpf_stricmp _GPFINIT;
62_GPFEXT void* gpf_strrev _GPFINIT;
63_GPFEXT void* gpf_strupr _GPFINIT;
64
65_GPFEXT void* gpf_strcpy _GPFINIT;
66_GPFEXT void* gpf_strcat _GPFINIT;
67_GPFEXT void* gpf_strlen _GPFINIT;
68_GPFEXT void* gpf_strncpy _GPFINIT;
69_GPFEXT void* gpf_strncat _GPFINIT;
70_GPFEXT void* gpf_strncmp _GPFINIT;
71_GPFEXT void* gpf_strnicmp _GPFINIT;
72_GPFEXT void* gpf_strdup _GPFINIT;
73_GPFEXT void* gpf_strlist _GPFINIT;
74_GPFEXT void* gpf_strlwr _GPFINIT;
75_GPFEXT void* gpf_strnset _GPFINIT;
76_GPFEXT void* gpf_strset _GPFINIT;
77
78#ifdef __cplusplus
79}
80#endif
81
82#pragma aux memchr = "call gpf_memchr";
83#pragma aux memcmp = "call gpf_memcmp";
84#pragma aux memcpy = "call gpf_memcpy";
85#pragma aux memmove = "call gpf_memmove";
86#pragma aux memset = "call gpf_memset";
87#pragma aux strchr = "call gpf_strchr";
88#pragma aux strcmp = "call gpf_strcmp";
89#pragma aux strcoll = "call gpf_strcoll";
90#pragma aux strcspn = "call gpf_strcspn";
91#pragma aux strerror = "call gpf_strerror";
92#pragma aux strtok_r = "call gpf_strtok_r";
93#pragma aux strpbrk = "call gpf_strpbrk";
94#pragma aux strrchr = "call gpf_strrchr";
95#pragma aux strspn = "call gpf_strspn";
96#pragma aux strstr = "call gpf_strstr";
97#pragma aux strtok = "call gpf_strtok";
98#pragma aux strxfrm = "call gpf_strxfrm";
99#pragma aux memicmp = "call gpf_memicmp";
100#pragma aux strcmpi = "call gpf_strcmpi";
101#pragma aux stricmp = "call gpf_stricmp";
102#pragma aux strrev = "call gpf_strrev";
103#pragma aux strupr = "call gpf_strupr";
104
105#pragma aux strcpy = "call gpf_strcpy";
106#pragma aux strcat = "call gpf_strcat";
107#pragma aux strlen = "call gpf_strlen";
108#pragma aux strncpy = "call gpf_strncpy";
109#pragma aux strncat = "call gpf_strncat";
110#pragma aux strncmp = "call gpf_strncmp";
111#pragma aux strnicmp = "call gpf_strnicmp";
112#pragma aux strdup = "call gpf_strdup";
113#pragma aux strlist = "call gpf_strlist";
114#pragma aux strlwr = "call gpf_strlwr";
115#pragma aux strnset = "call gpf_strnset";
116#pragma aux strset = "call gpf_strset";
117
118
119#endif // _CLIBSTR_H_
120