newlib-cygwin/winsup/cygwin/local_includes
Corinna Vinschen b5f9b0241a Cygwin: is_unicode_equiv: implement Unicode equivalence class check
is_unicode_equiv compares two UTF-32 values and returns 1 if
both are member of the same Unicode equivalence class, 0 otherwise.

Note that this function only works with precomposed characters
per Unicode normalization form C.  It doesn't handle decomposed
characters, just like its counterpart in glibc.  I.e., equivalence
class comparison using decomposed chars won't work.  Example:

  fnmatch("[=n=]", "ñ") == 0
  fnmatch("[=ñ=]", "n") == 0

but

  fnmatch("[=n=]", "n\x0303") == 1
  fnmatch("[=n\x0303=]", "n") == 1
  fnmatch("[=n\x0303=]", "n\x0303") == 1

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2023-02-15 22:00:39 +01:00
..
machine Cygwin: add local machine/asm.h header 2022-12-20 10:13:59 +01:00
child_info.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
clock.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
collate.h Cygwin: is_unicode_equiv: implement Unicode equivalence class check 2023-02-15 22:00:39 +01:00
cpuid.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
create_posix_thread.h Cygwin: rename CygwinCreateThread to create_posix_thread 2022-08-10 18:06:28 +02:00
cygerrno.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygheap.h Cygwin: /proc/<PID>/maps: print real shared region addresses 2023-01-17 22:00:48 +01:00
cygheap_malloc.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygmalloc.h Cygwin: fork: fix a potential hang in fork 2022-08-29 12:25:24 +02:00
cygserver.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygserver_ipc.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygserver_msg.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygserver_pwdgrp.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygserver_sem.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygserver_setpwd.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygserver_shm.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygthread.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygtls.h Cygwin: cygtls: drop useless alignment directives 2022-09-05 19:52:28 +02:00
cygwait.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygwin-cxx.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygwin_version.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
cygxdr.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
debug.h Cygwin: push missing change to debug.h 2022-08-22 14:53:30 +02:00
devices.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
dll_init.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
dtable.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
environ.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
errmap.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
exception.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
fhandler.h Cygwin: dsp: Implement SNDCTL_DSP_SETFRAGMENT ioctl(). 2023-01-31 20:35:53 +09:00
fhandler_virtual.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
gcc_seh.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
gmon.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
heap.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
lc_era.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
lc_msg.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
ldap.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
loadavg.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
math.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
memory_layout.h Cygwin: fix two comments in heap.cc and memory_layout.h 2023-01-18 20:13:38 +01:00
miscfuncs.h Cygwin: miscfuncs.h: fix comment 2022-08-19 15:51:49 +02:00
mmap_alloc.h Cygwin: add memory_layout.h 2022-10-28 16:26:53 +02:00
mmap_helper.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
mount.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
mqueue_types.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
mtinfo.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
nfs.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
ntdll.h Cygwin: fix a few comments mentioning Windows 7 or 8 2022-12-04 14:01:41 +01:00
path.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
pathfinder.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
perprocess.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
pinfo.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
posix_timer.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
profil.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
pwdgrp.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
registry.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
sec_posixacl.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
security.h Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
select.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
shared_info.h Cygwin: open_shared: don't reuse shared_locations parameter as output 2023-01-17 16:32:14 +01:00
sigproc.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
spinlock.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
string.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
sync.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
thread.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
timerfd.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
tls_pbuf.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
tty.h Cygwin: pty: Use GetTickCount64() instead of GetTickCount(). 2022-12-09 21:01:42 +09:00
userinfo.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
vstrlist.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
wchar.h Cygwin: mbrtowi: fix return type 2023-02-14 20:18:42 +01:00
wincap.h Cygwin: wincap: make capability flags readonly 2023-01-12 10:34:32 +01:00
winf.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
wininfo.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
winlean.h Cygwin: Reorganize cygwin source dir 2022-08-05 12:02:11 +02:00
winsup.h Cygwin: wincap.h: clarify NO_COPY_RO usage 2023-01-12 10:51:39 +01:00