Mac OS 9
PLStringFuncs.h
Go to the documentation of this file.
1 
19 #ifndef __PLSTRINGFUNCS__
20 #define __PLSTRINGFUNCS__
21 
22 #ifndef __MACTYPES__
23 #include <MacTypes.h>
24 #endif
25 
26 #if PRAGMA_ONCE
27 #pragma once
28 #endif
29 
30 #ifdef __cplusplus
31 extern "C"
32 {
33 #endif
34 
35 #if PRAGMA_IMPORT
36 #pragma import on
37 #endif
38 
39 #if PRAGMA_STRUCT_ALIGN
40 #pragma options align = mac68k
41 #elif PRAGMA_STRUCT_PACKPUSH
42 #pragma pack(push, 2)
43 #elif PRAGMA_STRUCT_PACK
44 #pragma pack(2)
45 #endif
46 
55  short
56  PLstrcmp(ConstStr255Param str1, ConstStr255Param str2);
57 
66  short
67  PLstrncmp(ConstStr255Param str1, ConstStr255Param str2, short num);
68 
77  StringPtr
78  PLstrcpy(StringPtr str1, ConstStr255Param str2);
79 
88  StringPtr
89  PLstrncpy(StringPtr str1, ConstStr255Param str2, short num);
90 
99  StringPtr
100  PLstrcat(StringPtr str1, ConstStr255Param str2);
101 
110  StringPtr
111  PLstrncat(StringPtr str1, ConstStr255Param str2, short num);
112 
121  Ptr
122  PLstrchr(ConstStr255Param str1, short ch1);
123 
132  Ptr
133  PLstrrchr(ConstStr255Param str1, short ch1);
134 
143  Ptr
144  PLstrpbrk(ConstStr255Param str1, ConstStr255Param str2);
145 
154  short
155  PLstrspn(ConstStr255Param str1, ConstStr255Param str2);
156 
165  Ptr
166  PLstrstr(ConstStr255Param str1, ConstStr255Param str2);
167 
176  short
177  PLstrlen(ConstStr255Param str);
178 
187  short
188  PLpos(ConstStr255Param str1, ConstStr255Param str2);
189 
190 #if PRAGMA_STRUCT_ALIGN
191 #pragma options align = reset
192 #elif PRAGMA_STRUCT_PACKPUSH
193 #pragma pack(pop)
194 #elif PRAGMA_STRUCT_PACK
195 #pragma pack()
196 #endif
197 
198 #ifdef PRAGMA_IMPORT_OFF
199 #pragma import off
200 #elif PRAGMA_IMPORT
201 #pragma import reset
202 #endif
203 
204 #ifdef __cplusplus
205 }
206 #endif
207 
208 #endif /* __PLSTRINGFUNCS__ */
Basic Macintosh data types.
unsigned char * StringPtr
Definition: MacTypes.h:477
StringPtr PLstrcpy(StringPtr str1, ConstStr255Param str2)
short PLstrncmp(ConstStr255Param str1, ConstStr255Param str2, short num)
Ptr PLstrrchr(ConstStr255Param str1, short ch1)
StringPtr PLstrncpy(StringPtr str1, ConstStr255Param str2, short num)
Ptr PLstrstr(ConstStr255Param str1, ConstStr255Param str2)
StringPtr PLstrncat(StringPtr str1, ConstStr255Param str2, short num)
Ptr PLstrpbrk(ConstStr255Param str1, ConstStr255Param str2)
Ptr PLstrchr(ConstStr255Param str1, short ch1)
short PLstrcmp(ConstStr255Param str1, ConstStr255Param str2)
StringPtr PLstrcat(StringPtr str1, ConstStr255Param str2)
short PLstrlen(ConstStr255Param str)
short PLstrspn(ConstStr255Param str1, ConstStr255Param str2)
short PLpos(ConstStr255Param str1, ConstStr255Param str2)