|
|
1.1 root 1: /***
2: * wcstr.h - declarations for wide character string manipulation functions
3: *
4: * Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved.
5: *
6: *Purpose:
7: * This file contains the function declarations for the string
8: * manipulation functions.
9: * [UNICODE/ISO]
10: *
11: ****/
12:
13: #ifndef _INC_WCSTR
14:
15:
16:
17: #ifndef _SIZE_T_DEFINED
18: typedef unsigned int size_t;
19: #define _SIZE_T_DEFINED
20: #endif
21:
22: #ifndef _WCHAR_T_DEFINED
23: typedef unsigned short wchar_t;
24: #define _WCHAR_T_DEFINED
25: #endif
26:
27: /* define NULL pointer value */
28:
29: #ifndef NULL
30: #define NULL ((void *)0)
31: #endif
32:
33:
34: /* function prototypes */
35:
36: wchar_t *wcscat(wchar_t *string1, const wchar_t *string2);
37: wchar_t *wcschr(const wchar_t *string1, wchar_t character);
38: int wcscmp(const wchar_t *string1, const wchar_t *string2);
39: wchar_t *wcscpy(wchar_t *string1, const wchar_t *string2);
40: size_t wcscspn(const wchar_t *string1, const wchar_t *string2);
41: size_t wcslen(const wchar_t *string);
42: wchar_t *wcsncat(wchar_t *string1, const wchar_t *string2, size_t count);
43: int wcsncmp(const wchar_t *string1, const wchar_t *string2, size_t count);
44: wchar_t *wcsncpy(wchar_t *string1, const wchar_t *string2, size_t count);
45: wchar_t *wcspbrk(const wchar_t *string1, const wchar_t *string2);
46: wchar_t *wcsrchr(const wchar_t *string, wchar_t character);
47: size_t wcsspn(const wchar_t *string1, const wchar_t *string2);
48: wchar_t *wcswcs(const wchar_t *string1, const wchar_t *string2);
49: int wcstomb(char *string, wchar_t character);
50: size_t wcstombs(char *dest, const wchar_t *string, size_t count);
51:
52: #define _INC_WCSTR
53:
54: #endif /* _INC_WCSTR */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.