Opened on 12/07/18 at 17:34:27
Last modified on 12/07/18 at 17:52:15
#3642 new defect
Add iswalnum(), iswalpha() ... (and 18 others) to <wchar.h> header
Reported by: | taneka zenon hans | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Indefinite |
Component: | posix | Version: | 5 |
Severity: | normal | Keywords: | POSIX-Compliance |
Cc: | Blocked By: | ||
Blocking: |
Description
#include <wchar.h>
fails to declare function prototypes for
iswalnum() iswalpha() iswcntrl() iswctype() iswdigit() iswgraph() iswlower() iswprint() iswpunct() iswspace() iswupper() iswxdigit()
as required to be POSIX-Compliant. Even though they are marked obsolescent, they should be implemented until the function prototype are removed (in a newer version).
When fixed, please remove #include <wctype.h>
and the corresponding comments referring to this ticket, from the following files:
pwd: rtems/testsuites/psxtests/psxhdrs/wchar/ iswalnum.c iswalpha.c iswcntrl.c iswctype.c iswdigit.c iswgraph.c iswlower.c iswprint.c iswpunct.c iswspace.c iswupper.c iswxdigit.c
Change History (3)
comment:1 Changed on 12/07/18 at 17:35:00 by taneka zenon hans
Keywords: | POSIX-Compliance added |
---|
comment:2 Changed on 12/07/18 at 17:51:54 by taneka zenon hans
comment:3 Changed on 12/07/18 at 17:52:15 by taneka zenon hans
Summary: | Add iswalnum(), iswalpha() ... (and 10 others) to <wchar.h> header → Add iswalnum(), iswalpha() ... (and 18 others) to <wchar.h> header |
---|
Note: See
TracTickets for help on using
tickets.
Hi! Since I don't have edit rights to the descriptions, I would add it as a comment for a mentor to add it inside:
Please add the following functions to the list of functions:
vfwprintf()
vfwscanf()
vswprintf()
vswscanf()
vwprintf()
vwscanf()
towlower()
towupper()
as well as the following files:
vfwprintf.c
vfwscanf.c
vswprintf.c
vswscanf.c
vwprintf.c
vwscanf.c
towlower.c
towupper.c