|
5481 | 5481 |
|
5482 | 5482 | \rSec1[c.strings]{Null-terminated sequence utilities} |
5483 | 5483 |
|
5484 | | -\pnum |
5485 | | -The contents of the headers |
5486 | | -\tcode{<cctype>}, |
5487 | | -\tcode{<cwctype>}, |
5488 | | -\tcode{<cwchar>}, |
5489 | | - and |
5490 | | -\tcode{<cuchar>} shall be the same as the C standard library headers |
5491 | | -\tcode{<ctype.h>}, |
5492 | | -\tcode{<wctype.h>}, |
5493 | | -\tcode{<wchar.h>}, |
5494 | | -and \tcode{<uchar.h>}, |
5495 | | -respectively, with the following modifications: |
5496 | | - |
5497 | | -\pnum |
5498 | | -\indextext{\idxcode{wchar_t}}% |
5499 | | -The headers shall not define the types |
5500 | | -\tcode{char16_t}, \tcode{char32_t}, and |
5501 | | -\tcode{wchar_t}~(\ref{lex.key}). |
5502 | | - |
5503 | | -\xref ISO C~7.4, 7.22.8, 7.24, 7.28, 7.29, and 7.30. |
5504 | | - |
5505 | 5484 | \rSec2[cctype.syn]{Header \tcode{<cctype>} synopsis} |
5506 | 5485 |
|
5507 | 5486 | \begin{codeblock} |
|
5523 | 5502 | } |
5524 | 5503 | \end{codeblock} |
5525 | 5504 |
|
| 5505 | +\pnum |
| 5506 | +\indextext{\idxhdr{ctype.h}}% |
| 5507 | +The contents and meaning of the header \tcode{<cctype>} |
| 5508 | +are the same as the C standard library header \tcode{<ctype.h>}. |
| 5509 | + |
| 5510 | +\xref ISO C 7.4 |
| 5511 | + |
5526 | 5512 | \rSec2[cwctype.syn]{Header \tcode{<cwctype>} synopsis} |
5527 | 5513 |
|
5528 | 5514 | \begin{codeblock} |
|
5555 | 5541 | \end{codeblock} |
5556 | 5542 |
|
5557 | 5543 | \pnum |
5558 | | -The meaning of the contents of this header is the same as the C |
5559 | | -standard library header \tcode{<wctype.h>}. |
| 5544 | +\indextext{\idxhdr{wctype.h}}% |
| 5545 | +The contents and meaning of the header \tcode{<cwctype>} |
| 5546 | +are the same as the C standard library header \tcode{<wctype.h>}. |
| 5547 | + |
| 5548 | +\xref ISO C 7.30 |
5560 | 5549 |
|
5561 | 5550 | \rSec2[cstring.syn]{Header \tcode{<cstring>} synopsis} |
5562 | 5551 |
|
|
5713 | 5702 | but they have the same behavior as in the C standard library~(\ref{library.c}). |
5714 | 5703 | \end{note} |
5715 | 5704 |
|
| 5705 | +\xref ISO C 7.29 |
| 5706 | + |
5716 | 5707 | \rSec2[cuchar.syn]{Header \tcode{<cuchar>} synopsis} |
5717 | 5708 |
|
5718 | 5709 | \begin{codeblock} |
|
5728 | 5719 | \end{codeblock} |
5729 | 5720 |
|
5730 | 5721 | \pnum |
5731 | | -The meaning of the contents of this header is the same as the C |
5732 | | -standard library header \tcode{<uchar.h>}. |
| 5722 | +\indextext{\idxhdr{uchar.h}}% |
| 5723 | +The contents and meaning of the header \tcode{<cuchar>} |
| 5724 | +are the same as the C standard library header |
| 5725 | +\tcode{<uchar.h>}, except that it does not declare types \tcode{char16_t} nor |
| 5726 | +\tcode{char32_t}. |
| 5727 | + |
| 5728 | +\xref ISO C 7.28 |
5733 | 5729 |
|
5734 | 5730 | \rSec2[c.mb.wcs]{Multibyte / wide string and character conversion functions} |
5735 | 5731 |
|
|
5810 | 5806 | \end{itemdescr} |
5811 | 5807 |
|
5812 | 5808 | \xref ISO C 7.29.6.3 |
5813 | | - |
5814 | | - |
5815 | | -%% \begin{libsyntabf5}{cwchar}{tab:strings.hdr.cwchar} |
5816 | | -%% \macros & |
5817 | | -%% \tcode{NULL} & |
5818 | | -%% \tcode{WCHAR_MAX} & |
5819 | | -%% \tcode{WCHAR_MIN} & |
5820 | | -%% \tcode{WEOF} \\ \rowsep |
5821 | | -%% \types & |
5822 | | -%% \tcode{mbstate_t} & |
5823 | | -%% \tcode{wint_t} & |
5824 | | -%% \tcode{size_t} & |
5825 | | -%% \tcode{tm} \\ \rowsep |
5826 | | -%% \cspan{\functions} \\ |
5827 | | - |
5828 | | -%% \tcode{btowc} & |
5829 | | -%% \tcode{mbsinit} & |
5830 | | -%% \tcode{vwscanf} & |
5831 | | -%% \tcode{wcsncpy} & |
5832 | | -%% \tcode{wcstoull} \\ |
5833 | | - |
5834 | | -%% \tcode{fgetwc} & |
5835 | | -%% \tcode{mbsrtowcs} & |
5836 | | -%% \tcode{wcrtomb} & |
5837 | | -%% \tcode{wcspbrk} & |
5838 | | -%% \tcode{wcstoul} \\ |
5839 | | - |
5840 | | -%% \tcode{fgetws} & |
5841 | | -%% \tcode{putwchar} & |
5842 | | -%% \tcode{wcscat} & |
5843 | | -%% \tcode{wcsrchr} & |
5844 | | -%% \tcode{wcsxfrm} \\ |
5845 | | - |
5846 | | -%% \tcode{fputwc} & |
5847 | | -%% \tcode{putwc} & |
5848 | | -%% \tcode{wcschr} & |
5849 | | -%% \tcode{wcsrtombs} & |
5850 | | -%% \tcode{wctob} \\ |
5851 | | - |
5852 | | -%% \tcode{fputws} & |
5853 | | -%% \tcode{swprintf} & |
5854 | | -%% \tcode{wcscmp} & |
5855 | | -%% \tcode{wcsspn} & |
5856 | | -%% \tcode{wmemchr} \\ |
5857 | | - |
5858 | | -%% \tcode{fwide} & |
5859 | | -%% \tcode{swscanf} & |
5860 | | -%% \tcode{wcscoll} & |
5861 | | -%% \tcode{wcsstr} & |
5862 | | -%% \tcode{wmemcmp} \\ |
5863 | | - |
5864 | | -%% \tcode{fwprintf} & |
5865 | | -%% \tcode{ungetwc} & |
5866 | | -%% \tcode{wcscpy} & |
5867 | | -%% \tcode{wcstod} & |
5868 | | -%% \tcode{wmemcpy} \\ |
5869 | | - |
5870 | | -%% \tcode{fwscanf} & |
5871 | | -%% \tcode{vfwprintf} & |
5872 | | -%% \tcode{wcscspn} & |
5873 | | -%% \tcode{wcstof} & |
5874 | | -%% \tcode{wmemmove} \\ |
5875 | | - |
5876 | | -%% \tcode{getwchar} & |
5877 | | -%% \tcode{vfwscanf} & |
5878 | | -%% \tcode{wcsftime} & |
5879 | | -%% \tcode{wcstok} & |
5880 | | -%% \tcode{wmemset} \\ |
5881 | | - |
5882 | | -%% \tcode{getwc} & |
5883 | | -%% \tcode{vswprintf} & |
5884 | | -%% \tcode{wcslen} & |
5885 | | -%% \tcode{wcstold} & |
5886 | | -%% \tcode{wprintf} \\ |
5887 | | - |
5888 | | -%% \tcode{mbrlen} & |
5889 | | -%% \tcode{vswscanf} & |
5890 | | -%% \tcode{wcsncat} & |
5891 | | -%% \tcode{wcstoll} & |
5892 | | -%% \tcode{wscanf} \\ |
5893 | | - |
5894 | | -%% \tcode{mbrtowc} & |
5895 | | -%% \tcode{vwprintf} & |
5896 | | -%% \tcode{wcsncmp} & |
5897 | | -%% \tcode{wcstol} & \\ |
5898 | | - |
5899 | | -%% \end{libsyntabf5} |
5900 | | - |
5901 | | -%% \begin{libsyntabf4}{cstdlib}{tab:strings.hdr.cstdlib} |
5902 | | -%% \macros & |
5903 | | -%% \tcode{MB_CUR_MAX} & |
5904 | | -%% & |
5905 | | -%% \\ \rowsep |
5906 | | -%% \cspan{\functions} \\ |
5907 | | -%% \tcode{atof} & \tcode{mblen} & \tcode{strtof} & \tcode{strtoul} \\ |
5908 | | -%% \tcode{atoi} & \tcode{mbtowc} & \tcode{strtol} & \tcode{strtoull}\\ |
5909 | | -%% \tcode{atol} & \tcode{mbstowcs}& \tcode{strtold} & \tcode{wctomb}\\ |
5910 | | -%% \tcode{atoll} & \tcode{strtod} & \tcode{strtoll} & \tcode{wcstombs}\\ |
5911 | | -%% \end{libsyntabf4} |
5912 | | - |
5913 | | -%% \begin{libsyntabf3}{cuchar}{tab:strings.hdr.cuchar} |
5914 | | -%% \macros & |
5915 | | -%% \mbox{\tcode{__STDC_UTF_16__}} & \\ |
5916 | | -%% & \mbox{\tcode{__STDC_UTF_32__}} & \\ \rowsep |
5917 | | -%% \functions & |
5918 | | -%% \tcode{mbrtoc16} & |
5919 | | -%% \tcode{c16rtomb} \\ |
5920 | | -%% & |
5921 | | -%% \tcode{mbrtoc32} & |
5922 | | -%% \tcode{c32rtomb} \\ |
5923 | | -%% \end{libsyntabf3} |
0 commit comments