newlib-cygwin/winsup/cygwin/include/sys
Corinna Vinschen 732afede93 Cygwin: redefine CW_CMDLINE to CW_CMDLINE_ALLOC
Make sure to

- append a trailing \0 as with Windows multistrings, so the end of
  the string can be recognized by the caller, and

- allocate cmdline on the user heap so the caller can free the
  multistring after usage.

Fixes: 831d6fa520 ("* external.cc (cygwin_internal): Implement CW_CMDLINE.")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2024-01-31 20:11:58 +01:00
..
_pthreadtypes.h
acl.h
clipboard.h Cygwin: remove 32-bit only clipboard code 2022-05-29 17:45:52 -04:00
copying.dj
cpuset.h Cygwin: Fix __cpuset_zero_s prototype 2023-09-09 23:28:55 +02:00
cygwin.h Cygwin: redefine CW_CMDLINE to CW_CMDLINE_ALLOC 2024-01-31 20:11:58 +01:00
dirent.h Cygwin: posix_getdents: implement per SUS Base Specifications Issue 8 draft 2024-01-31 20:11:58 +01:00
file.h
ioctl.h Cygwin: remove most occurrences of __stdcall and __cdecl 2022-06-06 12:00:45 -04:00
ipc.h
kd.h
lock.h
mman.h Cygwin: simplify some function names 2022-05-29 17:45:52 -04:00
mount.h
msg.h
mtio.h
param.h Cygwin: fix/drop a few comments 2022-08-03 18:14:39 +02:00
poll.h
procfs.h
quota.h
random.h
resource.h
sem.h
shm.h
signalfd.h
smallprint.h
socket.h
soundcard.h
statfs.h
statvfs.h
stdio.h
strace.h Cygwin: remove regparm.h 2022-05-29 17:45:52 -04:00
sysinfo.h
syslimits.h change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
syslog.h
sysmacros.h
sysproto.h
termio.h
termios.h Cygwin: drop macro and code for CYGWIN_VERSION_DLL_IS_OLD_TERMIOS 2022-08-03 15:35:29 +02:00
timerfd.h
ttychars.h
ucontext.h
uio.h
un.h
utime.h
utmp.h Cygwin: unbreak the build with GCC 7 2019-07-19 14:14:33 -04:00
utsname.h
vfs.h
wait.h change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
xattr.h