• R/O
  • HTTP
  • SSH
  • HTTPS

mingw-org-wsl: Commit

The MinGW.org Windows System Libraries


Commit MetaInfo

Revision6d1cd97dddd7d3810c590dcb62fbdcf8a9b01f5f (tree)
Time2020-07-06 03:26:24
AuthorKeith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Update MBCS to wide character conversion man pages.

Change Summary

Incremental Difference

--- a/mingwrt/ChangeLog
+++ b/mingwrt/ChangeLog
@@ -1,3 +1,13 @@
1+2020-07-05 Keith Marshall <keith@users.osdn.me>
2+
3+ Update MBCS to wide character conversion man pages.
4+
5+ * man/btowc.3.man man/mbrlen.3.man man/mbrtowc.3.man
6+ * man/mbsinit.3.man man/mbsrtowcs.3.man man/wcrtomb.3.man
7+ * man/wcsrtombs.3.man man/wctob.3.man: Remove references to Microsoft
8+ implementations of documented functions; all means of access to such
9+ function implementations have been disabled for MinGW applications.
10+
111 2020-07-04 Keith Marshall <keith@users.osdn.me>
212
313 Discontinue use of Microsoft's MBCS/wide character converters.
--- a/mingwrt/man/btowc.3.man
+++ b/mingwrt/man/btowc.3.man
@@ -17,66 +17,6 @@
1717 .I c
1818 .B );
1919 .
20-.IP \& -4n
21-Feature Test Macro Requirements for libmingwex:
22-.PP
23-.BR \%__MSVCRT_VERSION__ :
24-since \%mingwrt\(hy5.3,
25-if this feature test macro is
26-.IR defined ,
27-with a value of
28-.I at least
29-.IR \%0x0800 ,
30-(corresponding to the symbolic constant,
31-.BR \%__MSCVR80_DLL ,
32-and thus declaring intent to link with \%MSVCR80.DLL,
33-or any later version of \%Microsoft\(aqs \%non\(hyfree runtime library,
34-instead of with \%MSVCRT.DLL),
35-calls to
36-.BR \%btowc ()
37-will be directed to the implementation thereof,
38-within \%Microsoft\(aqs runtime DLL.
39-.
40-.PP
41-.BR \%_ISOC99_SOURCE ,
42-.BR \%_ISOC11_SOURCE :
43-since \%mingwrt\(hy5.3.1,
44-when linking with \%MSVCRT.DLL,
45-or when
46-.B \%__MSVCRT_VERSION__
47-is either
48-.IR undefined ,
49-or is
50-.I defined
51-with any value which is
52-.I less than
53-.IR \%0x0800 ,
54-(thus denying intent to link with \%MSVCR80.DLL,
55-or any later \%non\(hyfree version of Microsoft\(aqs runtime library),
56-.I explicitly
57-defining either of these feature test macros
58-will cause any call to
59-.BR \%btowc ()
60-to be directed to the
61-.I \%libmingwex
62-implementation;
63-if neither macro is defined,
64-calls to
65-.BR \%btowc ()
66-will be directed to Microsoft\(aqs runtime implementation,
67-if it is available,
68-otherwise falling back to the
69-.I \%libmingwex
70-implementation.
71-.
72-.PP
73-Prior to \%mingwrt\(hy5.3,
74-none of the above feature test macros have any effect on
75-.BR \%btowc ();
76-all calls will be directed to the
77-.I \%libmingwex
78-implementation.
79-.
8020 .
8121 .SH DESCRIPTION
8222 If
@@ -130,11 +70,7 @@ conforms generally to
13070 .BR \%ISO\(hyC99 ,
13171 .BR \%POSIX.1\(hy2001 ,
13272 and
133-.BR \%POSIX.1\(hy2008 ;
134-(prior to \%mingwrt\-5.3,
135-and in those cases where calls may be delegated
136-to a Microsoft runtime DLL implementation,
137-this level of conformity may not be achieved).
73+.BR \%POSIX.1\(hy2008 .
13874 .
13975 .
14076 .\"SH EXAMPLE
--- a/mingwrt/man/mbrlen.3.man
+++ b/mingwrt/man/mbrlen.3.man
@@ -19,67 +19,6 @@
1919 .B );
2020 .
2121 .
22-.IP \& -4n
23-Feature Test Macro Requirements for libmingwex:
24-.PP
25-.BR \%__MSVCRT_VERSION__ :
26-since \%mingwrt\(hy5.3,
27-if this feature test macro is
28-.IR defined ,
29-with a value of
30-.I at least
31-.IR \%0x0800 ,
32-(corresponding to the symbolic constant,
33-.BR \%__MSCVR80_DLL ,
34-and thus declaring intent to link with \%MSVCR80.DLL,
35-or any later version of \%Microsoft\(aqs \%non\(hyfree runtime library,
36-instead of with \%MSVCRT.DLL),
37-calls to
38-.BR \%mbrlen ()
39-will be directed to the implementation thereof,
40-within \%Microsoft\(aqs runtime DLL.
41-.
42-.PP
43-.BR \%_ISOC99_SOURCE ,
44-.BR \%_ISOC11_SOURCE :
45-since \%mingwrt\(hy5.3.1,
46-when linking with \%MSVCRT.DLL,
47-or when
48-.B \%__MSVCRT_VERSION__
49-is either
50-.IR undefined ,
51-or is
52-.I defined
53-with any value which is
54-.I less than
55-.IR \%0x0800 ,
56-(thus denying intent to link with \%MSVCR80.DLL,
57-or any later \%non\(hyfree version of Microsoft\(aqs runtime library),
58-.I explicitly
59-defining either of these feature test macros
60-will cause any call to
61-.BR \%mbrlen ()
62-to be directed to the
63-.I \%libmingwex
64-implementation;
65-if neither macro is defined,
66-calls to
67-.BR \%mbrlen ()
68-will be directed to Microsoft\(aqs runtime implementation,
69-if it is available,
70-otherwise falling back to the
71-.I \%libmingwex
72-implementation.
73-.
74-.PP
75-Prior to \%mingwrt\(hy5.3,
76-none of the above feature test macros have any effect on
77-.BR \%mbrlen ();
78-all calls will be directed to the
79-.I \%libmingwex
80-implementation.
81-.
82-.
8322 .SH DESCRIPTION
8423 The
8524 .BR \%mbrlen ()
@@ -250,11 +189,7 @@ conforms generally to
250189 .BR \%ISO\(hyC99 ,
251190 .BR \%POSIX.1\(hy2001 ,
252191 and
253-.BR \%POSIX.1\(hy2008 ;
254-(prior to \%mingwrt\-5.3 ,
255-and in those cases where calls may be delegated
256-to a Microsoft runtime DLL implementation,
257-this level of conformity may not be achieved).
192+.BR \%POSIX.1\(hy2008 .
258193 .
259194 .PP
260195 The feature whereby
--- a/mingwrt/man/mbrtowc.3.man
+++ b/mingwrt/man/mbrtowc.3.man
@@ -20,66 +20,6 @@
2020 .BI * ps
2121 .B );
2222 .
23-.IP \& -4n
24-Feature Test Macro Requirements for libmingwex:
25-.PP
26-.BR \%__MSVCRT_VERSION__ :
27-since \%mingwrt\(hy5.3,
28-if this feature test macro is
29-.IR defined ,
30-with a value of
31-.I at least
32-.IR 0x0800 ,
33-(corresponding to the symbolic constant,
34-.BR \%__MSCVR80_DLL ,
35-and thus declaring intent to link with \%MSVCR80.DLL,
36-or any later version of \%Microsoft\(aqs \%non\(hyfree runtime library,
37-instead of with \%MSVCRT.DLL),
38-calls to
39-.BR mbrtowc ()
40-will be directed to the implementation thereof,
41-within \%Microsoft\(aqs runtime DLL.
42-.
43-.PP
44-.BR \%_ISOC99_SOURCE ,
45-.BR \%_ISOC11_SOURCE :
46-since \%mingwrt\(hy5.3.1,
47-when linking with \%MSVCRT.DLL,
48-or when
49-.B \%__MSVCRT_VERSION__
50-is either
51-.IR undefined ,
52-or is
53-.I defined
54-with any value which is
55-.I less than
56-.IR 0x0800 ,
57-(thus denying intent to link with \%MSVCR80.DLL,
58-or any later \%non\(hyfree version of Microsoft\(aqs runtime library),
59-.I explicitly
60-defining either of these feature test macros
61-will cause any call to
62-.BR \%mbrtowc ()
63-to be directed to the
64-.I \%libmingwex
65-implementation;
66-if neither macro is defined,
67-calls to
68-.BR \%mbrtowc ()
69-will be directed to Microsoft\(aqs runtime implementation,
70-if it is available,
71-otherwise falling back to the
72-.I \%libmingwex
73-implementation.
74-.
75-.PP
76-Prior to \%mingwrt\(hy5.3,
77-none of the above feature test macros have any effect on
78-.BR \%mbrtowc ();
79-all calls will be directed to the
80-.I \%libmingwex
81-implementation.
82-.
8323 .
8424 .SH DESCRIPTION
8525 If
@@ -327,11 +267,7 @@ conforms generally to
327267 .BR \%ISO\(hyC99 ,
328268 .BR \%POSIX.1\(hy2001 ,
329269 and
330-.BR \%POSIX.1\(hy2008 ;
331-(prior to \%mingwrt\-5.3,
332-and in those cases where calls may be delegated
333-to a Microsoft runtime DLL implementation,
334-this level of conformity may not be achieved).
270+.BR \%POSIX.1\(hy2008 .
335271 .
336272 .PP
337273 The feature whereby
--- a/mingwrt/man/mbsinit.3.man
+++ b/mingwrt/man/mbsinit.3.man
@@ -160,13 +160,11 @@ No error conditions are defined.
160160 .
161161 .
162162 .SH STANDARDS CONFORMANCE
163-There is no Microsoft implementation of the
164-.BR mbsinit ()
165-function,
166-which is readily accessible for use in MinGW applications;
167-the
163+The
168164 .I \%libmingwex
169-implementation conforms generally to
165+implementation of
166+.BR mbsinit ()
167+conforms generally to
170168 .BR \%ISO\(hyC99 ,
171169 .BR \%POSIX.1\(hy2001 ,
172170 and
--- a/mingwrt/man/mbsrtowcs.3.man
+++ b/mingwrt/man/mbsrtowcs.3.man
@@ -20,66 +20,6 @@
2020 .BI * ps
2121 .B );
2222 .
23-.IP \& -4n
24-Feature Test Macro Requirements for libmingwex:
25-.PP
26-.BR \%__MSVCRT_VERSION__ :
27-since \%mingwrt\(hy5.3,
28-if this feature test macro is
29-.IR defined ,
30-with a value of
31-.I at least
32-.IR 0x0800 ,
33-(corresponding to the symbolic constant,
34-.BR \%__MSCVR80_DLL ,
35-and thus declaring intent to link with \%MSVCR80.DLL,
36-or any later version of \%Microsoft\(aqs \%non\(hyfree runtime library,
37-instead of with \%MSVCRT.DLL),
38-calls to
39-.BR mbsrtowcs ()
40-will be directed to the implementation thereof,
41-within \%Microsoft\(aqs runtime DLL.
42-.
43-.PP
44-.BR \%_ISOC99_SOURCE ,
45-.BR \%_ISOC11_SOURCE :
46-since \%mingwrt\(hy5.3.1,
47-when linking with \%MSVCRT.DLL,
48-or when
49-.B \%__MSVCRT_VERSION__
50-is either
51-.IR undefined ,
52-or is
53-.I defined
54-with any value which is
55-.I less than
56-.IR 0x0800 ,
57-(thus denying intent to link with \%MSVCR80.DLL,
58-or any later \%non\(hyfree version of Microsoft\(aqs runtime library),
59-.I explicitly
60-defining either of these feature test macros
61-will cause any call to
62-.BR \%mbsrtowcs ()
63-to be directed to the
64-.I \%libmingwex
65-implementation;
66-if neither macro is defined,
67-calls to
68-.BR \%mbsrtowcs ()
69-will be directed to Microsoft\(aqs runtime implementation,
70-if it is available,
71-otherwise falling back to the
72-.I \%libmingwex
73-implementation.
74-.
75-.PP
76-Prior to \%mingwrt\(hy5.3,
77-none of the above feature test macros have any effect on
78-.BR \%mbsrtowcs ();
79-all calls will be directed to the
80-.I \%libmingwex
81-implementation.
82-.
8323 .
8424 .SH DESCRIPTION
8525 .PP
@@ -263,11 +203,7 @@ conforms generally to
263203 .BR \%ISO\(hyC99 ,
264204 .BR \%POSIX.1\(hy2001 ,
265205 and
266-.BR \%POSIX.1\(hy2008 ;
267-(prior to \%mingwrt\-5.3,
268-and in those cases where calls may be delegated
269-to a Microsoft runtime DLL implementation,
270-this level of conformity may not be achieved).
206+.BR \%POSIX.1\(hy2008 .
271207 .
272208 .
273209 .\"SH EXAMPLE
--- a/mingwrt/man/wcrtomb.3.man
+++ b/mingwrt/man/wcrtomb.3.man
@@ -18,66 +18,6 @@
1818 .BI * ps
1919 .B );
2020 .
21-.IP \& -4n
22-Feature Test Macro Requirements for libmingwex:
23-.PP
24-.BR \%__MSVCRT_VERSION__ :
25-since \%mingwrt\(hy5.3,
26-if this feature test macro is
27-.IR defined ,
28-with a value of
29-.I at least
30-.IR \%0x0800 ,
31-(corresponding to the symbolic constant,
32-.BR \%__MSCVR80_DLL ,
33-and thus declaring intent to link with \%MSVCR80.DLL,
34-or any later version of \%Microsoft\(aqs \%non\(hyfree runtime library,
35-instead of with \%MSVCRT.DLL),
36-calls to
37-.BR \%wcrtomb ()
38-will be directed to the implementation thereof,
39-within \%Microsoft\(aqs runtime DLL.
40-.
41-.PP
42-.BR \%_ISOC99_SOURCE ,
43-.BR \%_ISOC11_SOURCE :
44-since \%mingwrt\(hy5.3.1,
45-when linking with \%MSVCRT.DLL,
46-or when
47-.B \%__MSVCRT_VERSION__
48-is either
49-.IR undefined ,
50-or is
51-.I defined
52-with any value which is
53-.I less than
54-.IR \%0x0800 ,
55-(thus denying intent to link with \%MSVCR80.DLL,
56-or any later \%non\(hyfree version of Microsoft\(aqs runtime library),
57-.I explicitly
58-defining either of these feature test macros
59-will cause any call to
60-.BR \%wcrtomb ()
61-to be directed to the
62-.I \%libmingwex
63-implementation;
64-if neither macro is defined,
65-calls to
66-.BR \%wcrtomb ()
67-will be directed to Microsoft\(aqs runtime implementation,
68-if it is available,
69-otherwise falling back to the
70-.I \%libmingwex
71-implementation.
72-.
73-.PP
74-Prior to \%mingwrt\(hy5.3,
75-none of the above feature test macros have any effect on
76-.BR \%wcrtomb ();
77-all calls will be directed to the
78-.I \%libmingwex
79-implementation.
80-.
8121 .
8222 .SH DESCRIPTION
8323 The
@@ -207,11 +147,7 @@ conforms generally to
207147 .BR \%ISO\(hyC99 ,
208148 .BR \%POSIX.1\(hy2001 ,
209149 and
210-.BR \%POSIX.1\(hy2008 ;
211-(prior to \%mingwrt\-5.3,
212-and in those cases where calls may be delegated
213-to a Microsoft runtime DLL implementation,
214-this level of conformity may not be achieved).
150+.BR \%POSIX.1\(hy2008 .
215151 .
216152 .
217153 .\"SH EXAMPLE
--- a/mingwrt/man/wcsrtombs.3.man
+++ b/mingwrt/man/wcsrtombs.3.man
@@ -20,66 +20,6 @@
2020 .BI * ps
2121 .B );
2222 .
23-.IP \& -4n
24-Feature Test Macro Requirements for libmingwex:
25-.PP
26-.BR \%__MSVCRT_VERSION__ :
27-since \%mingwrt\(hy5.3,
28-if this feature test macro is
29-.IR defined ,
30-with a value of
31-.I at least
32-.IR \%0x0800 ,
33-(corresponding to the symbolic constant,
34-.BR \%__MSCVR80_DLL ,
35-and thus declaring intent to link with \%MSVCR80.DLL,
36-or any later version of \%Microsoft\(aqs \%non\(hyfree runtime library,
37-instead of with \%MSVCRT.DLL),
38-calls to
39-.BR \%wcsrtombs ()
40-will be directed to the implementation thereof,
41-within \%Microsoft\(aqs runtime DLL.
42-.
43-.PP
44-.BR \%_ISOC99_SOURCE ,
45-.BR \%_ISOC11_SOURCE :
46-since \%mingwrt\(hy5.3.1,
47-when linking with \%MSVCRT.DLL,
48-or when
49-.B \%__MSVCRT_VERSION__
50-is either
51-.IR undefined ,
52-or is
53-.I defined
54-with any value which is
55-.I less than
56-.IR \%0x0800 ,
57-(thus denying intent to link with \%MSVCR80.DLL,
58-or any later \%non\(hyfree version of Microsoft\(aqs runtime library),
59-.I explicitly
60-defining either of these feature test macros
61-will cause any call to
62-.BR \%wcsrtombs ()
63-to be directed to the
64-.I \%libmingwex
65-implementation;
66-if neither macro is defined,
67-calls to
68-.BR \%wcsrtombs ()
69-will be directed to Microsoft\(aqs runtime implementation,
70-if it is available,
71-otherwise falling back to the
72-.I \%libmingwex
73-implementation.
74-.
75-.PP
76-Prior to \%mingwrt\(hy5.3,
77-none of the above feature test macros have any effect on
78-.BR \%wcsrtombs ();
79-all calls will be directed to the
80-.I \%libmingwex
81-implementation.
82-.
8323 .
8424 .SH DESCRIPTION
8525 The
@@ -244,11 +184,7 @@ conforms generally to
244184 .BR \%ISO\(hyC99 ,
245185 .BR \%POSIX.1\(hy2001 ,
246186 and
247-.BR \%POSIX.1\(hy2008 ;
248-(prior to \%mingwrt\-5.3,
249-and in those cases where calls may be delegated
250-to a Microsoft runtime DLL implementation,
251-this level of conformity may not be achieved).
187+.BR \%POSIX.1\(hy2008 .
252188 .
253189 .
254190 .\"SH EXAMPLE
--- a/mingwrt/man/wctob.3.man
+++ b/mingwrt/man/wctob.3.man
@@ -17,66 +17,6 @@
1717 .I c
1818 .B );
1919 .
20-.IP \& -4n
21-Feature Test Macro Requirements for libmingwex:
22-.PP
23-.BR \%__MSVCRT_VERSION__ :
24-since \%mingwrt\(hy5.3,
25-if this feature test macro is
26-.IR defined ,
27-with a value of
28-.I at least
29-.IR \%0x0800 ,
30-(corresponding to the symbolic constant,
31-.BR \%__MSCVR80_DLL ,
32-and thus declaring intent to link with \%MSVCR80.DLL,
33-or any later version of \%Microsoft\(aqs \%non\(hyfree runtime library,
34-instead of with \%MSVCRT.DLL),
35-calls to
36-.BR \%wctob ()
37-will be directed to the implementation thereof,
38-within \%Microsoft\(aqs runtime DLL.
39-.
40-.PP
41-.BR \%_ISOC99_SOURCE ,
42-.BR \%_ISOC11_SOURCE :
43-since \%mingwrt\(hy5.3.1,
44-when linking with \%MSVCRT.DLL,
45-or when
46-.B \%__MSVCRT_VERSION__
47-is either
48-.IR undefined ,
49-or is
50-.I defined
51-with any value which is
52-.I less than
53-.IR \%0x0800 ,
54-(thus denying intent to link with \%MSVCR80.DLL,
55-or any later \%non\(hyfree version of Microsoft\(aqs runtime library),
56-.I explicitly
57-defining either of these feature test macros
58-will cause any call to
59-.BR \%wctob ()
60-to be directed to the
61-.I \%libmingwex
62-implementation;
63-if neither macro is defined,
64-calls to
65-.BR \%wctob ()
66-will be directed to Microsoft\(aqs runtime implementation,
67-if it is available,
68-otherwise falling back to the
69-.I \%libmingwex
70-implementation.
71-.
72-.PP
73-Prior to \%mingwrt\(hy5.3,
74-none of the above feature test macros have any effect on
75-.BR \%wctob ();
76-all calls will be directed to the
77-.I \%libmingwex
78-implementation.
79-.
8020 .
8121 .SH DESCRIPTION
8222 The
@@ -135,11 +75,7 @@ conforms generally to
13575 .BR \%ISO\(hyC99 ,
13676 .BR \%POSIX.1\(hy2001 ,
13777 and
138-.BR \%POSIX.1\(hy2008 ;
139-(prior to \%mingwrt\(hy5.3,
140-and in those cases where calls may be delegated
141-to a Microsoft runtime DLL implementation,
142-this level of conformity may not be achieved).
78+.BR \%POSIX.1\(hy2008 .
14379 .
14480 .
14581 .\"SH EXAMPLE
Show on old repository browser