From Jason Turner

[cwchar.syn]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpmpjz7m5m/{from.md → to.md} +13 -14
tmp/tmpmpjz7m5m/{from.md → to.md} RENAMED
@@ -46,23 +46,23 @@ namespace std {
46
  int wcscmp(const wchar_t* s1, const wchar_t* s2);
47
  int wcscoll(const wchar_t* s1, const wchar_t* s2);
48
  int wcsncmp(const wchar_t* s1, const wchar_t* s2, size_t n);
49
  size_t wcsxfrm(wchar_t* s1, const wchar_t* s2, size_t n);
50
  int wmemcmp(const wchar_t* s1, const wchar_t* s2, size_t n);
51
- const wchar_t* wcschr(const wchar_t* s, wchar_t c) // see [library.c]
52
- wchar_t* wcschr(wchar_t* s, wchar_t c) // see [library.c]
53
  size_t wcscspn(const wchar_t* s1, const wchar_t* s2);
54
- const wchar_t* wcspbrk(const wchar_t* s1, const wchar_t* s2) // see [library.c]
55
- wchar_t* wcspbrk(wchar_t* s1, const wchar_t* s2) // see [library.c]
56
- const wchar_t* wcsrchr(const wchar_t* s, wchar_t c) // see [library.c]
57
- wchar_t* wcsrchr(wchar_t* s, wchar_t c) // see [library.c]
58
  size_t wcsspn(const wchar_t* s1, const wchar_t* s2);
59
- const wchar_t* wcsstr(const wchar_t* s1, const wchar_t* s2) // see [library.c]
60
- wchar_t* wcsstr(wchar_t* s1, const wchar_t* s2) // see [library.c]
61
  wchar_t* wcstok(wchar_t* s1, const wchar_t* s2, wchar_t** ptr);
62
- const wchar_t* wmemchr(const wchar_t* s, wchar_t c, size_t n) // see [library.c]
63
- wchar_t* wmemchr(wchar_t* s, wchar_t c, size_t n) // see [library.c]
64
  size_t wcslen(const wchar_t* s);
65
  wchar_t* wmemset(wchar_t* s, wchar_t c, size_t n);
66
  size_t wcsftime(wchar_t* s, size_t maxsize, const wchar_t* format, const struct tm* timeptr);
67
  wint_t btowc(int c);
68
  int wctob(wint_t c);
@@ -85,11 +85,10 @@ namespace std {
85
  The contents and meaning of the header `<cwchar>` are the same as the C
86
  standard library header `<wchar.h>`, except that it does not declare a
87
  type `wchar_t`.
88
 
89
  [*Note 1*: The functions `wcschr`, `wcspbrk`, `wcsrchr`, `wcsstr`, and
90
- `wmemchr` have different signatures in this International Standard, but
91
- they have the same behavior as in the C standard library (
92
- [[library.c]]). — *end note*]
93
 
94
- ISO C 7.29
95
 
 
46
  int wcscmp(const wchar_t* s1, const wchar_t* s2);
47
  int wcscoll(const wchar_t* s1, const wchar_t* s2);
48
  int wcsncmp(const wchar_t* s1, const wchar_t* s2, size_t n);
49
  size_t wcsxfrm(wchar_t* s1, const wchar_t* s2, size_t n);
50
  int wmemcmp(const wchar_t* s1, const wchar_t* s2, size_t n);
51
+ const wchar_t* wcschr(const wchar_t* s, wchar_t c); // see [library.c]
52
+ wchar_t* wcschr(wchar_t* s, wchar_t c); // see [library.c]
53
  size_t wcscspn(const wchar_t* s1, const wchar_t* s2);
54
+ const wchar_t* wcspbrk(const wchar_t* s1, const wchar_t* s2); // see [library.c]
55
+ wchar_t* wcspbrk(wchar_t* s1, const wchar_t* s2); // see [library.c]
56
+ const wchar_t* wcsrchr(const wchar_t* s, wchar_t c); // see [library.c]
57
+ wchar_t* wcsrchr(wchar_t* s, wchar_t c); // see [library.c]
58
  size_t wcsspn(const wchar_t* s1, const wchar_t* s2);
59
+ const wchar_t* wcsstr(const wchar_t* s1, const wchar_t* s2); // see [library.c]
60
+ wchar_t* wcsstr(wchar_t* s1, const wchar_t* s2); // see [library.c]
61
  wchar_t* wcstok(wchar_t* s1, const wchar_t* s2, wchar_t** ptr);
62
+ const wchar_t* wmemchr(const wchar_t* s, wchar_t c, size_t n); // see [library.c]
63
+ wchar_t* wmemchr(wchar_t* s, wchar_t c, size_t n); // see [library.c]
64
  size_t wcslen(const wchar_t* s);
65
  wchar_t* wmemset(wchar_t* s, wchar_t c, size_t n);
66
  size_t wcsftime(wchar_t* s, size_t maxsize, const wchar_t* format, const struct tm* timeptr);
67
  wint_t btowc(int c);
68
  int wctob(wint_t c);
 
85
  The contents and meaning of the header `<cwchar>` are the same as the C
86
  standard library header `<wchar.h>`, except that it does not declare a
87
  type `wchar_t`.
88
 
89
  [*Note 1*: The functions `wcschr`, `wcspbrk`, `wcsrchr`, `wcsstr`, and
90
+ `wmemchr` have different signatures in this document, but they have the
91
+ same behavior as in the C standard library [[library.c]]. — *end note*]
 
92
 
93
+ See also: ISO C 7.29
94