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
clock.h
collate.h Cygwin: is_unicode_equiv: implement Unicode equivalence class check 2023-02-15 22:00:39 +01:00
cpuid.h
create_posix_thread.h Cygwin: rename CygwinCreateThread to create_posix_thread 2022-08-10 18:06:28 +02:00
cygerrno.h
cygheap.h Cygwin: /proc/<PID>/maps: print real shared region addresses 2023-01-17 22:00:48 +01:00
cygheap_malloc.h
cygmalloc.h Cygwin: fork: fix a potential hang in fork 2022-08-29 12:25:24 +02:00
cygserver.h
cygserver_ipc.h
cygserver_msg.h
cygserver_pwdgrp.h
cygserver_sem.h
cygserver_setpwd.h
cygserver_shm.h
cygthread.h
cygtls.h Cygwin: cygtls: drop useless alignment directives 2022-09-05 19:52:28 +02:00
cygwait.h
cygwin-cxx.h
cygwin_version.h
cygxdr.h
debug.h Cygwin: push missing change to debug.h 2022-08-22 14:53:30 +02:00
devices.h
dll_init.h
dtable.h
environ.h
errmap.h
exception.h
fhandler.h Cygwin: dsp: Implement SNDCTL_DSP_SETFRAGMENT ioctl(). 2023-01-31 20:35:53 +09:00
fhandler_virtual.h
gcc_seh.h
gmon.h
heap.h
lc_era.h
lc_msg.h
ldap.h
loadavg.h
math.h
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
mount.h
mqueue_types.h
mtinfo.h
nfs.h
ntdll.h Cygwin: fix a few comments mentioning Windows 7 or 8 2022-12-04 14:01:41 +01:00
path.h
pathfinder.h
perprocess.h
pinfo.h
posix_timer.h
profil.h
pwdgrp.h
registry.h
sec_posixacl.h
security.h Cygwin: get_posix_access: Make mode_t parameter mandatory 2023-02-09 21:58:44 +01:00
select.h
shared_info.h Cygwin: open_shared: don't reuse shared_locations parameter as output 2023-01-17 16:32:14 +01:00
sigproc.h
spinlock.h
string.h
sync.h
thread.h
timerfd.h
tls_pbuf.h
tty.h Cygwin: pty: Use GetTickCount64() instead of GetTickCount(). 2022-12-09 21:01:42 +09:00
userinfo.h
vstrlist.h
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
wininfo.h
winlean.h
winsup.h Cygwin: wincap.h: clarify NO_COPY_RO usage 2023-01-12 10:51:39 +01:00