This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header patches for missing prototypes

Hello CygPeeps

I am not sure if these patches should be to cygwin or not, but here
they are.
The following functions are not defined in any of the header files.

newlib/libc/include/grp.h        : initgroups	<- yes it's a stub, but
it's nice to have the prototype
newlib/libc/include/stdio.h      : getw
newlib/libc/include/stdio.h      : putw
newlib/libc/include/string.h     : memccpy
newlib/libc/include/sys/signal.h : killpg
newlib/libc/include/sys/stat.h   : mknod		<- yes it's a stub, but it's
nice to have the prototype
newlib/libc/include/sys/unistd.h : getpgid
newlib/libc/include/sys/unistd.h : setpgrp
newlib/libc/include/sys/unistd.h : vhangup

winsup/cygwin/include/wchar.h    : wprintf

I have included two patches: newlib.patch and winsup.patch in a
compressed tar file.

run as follows:

cd /path/to/parent/of/newlib_and_winsup
gzip -cd newlib.patch | patch -p0
gzip -cd winsup.patch | patch -p0

Here are the ChangeLog's


Mon Jan  8 02:57:33 2001  Edward M. Lee  <>

	* libc/include/grp.h: added prototype for initgroups
	* libc/include/stdio.h: added prototypes for getw, putw
	* libc/include/string.h: added prototype for memccpy
	* libc/include/sys/signal.h: added prototype for killpg
	* libc/include/sys/stat.h: enable mknod/lstat for CYGWIN
	* libc/include/sys/unistd.h: added prototypes for getpgid, setpgrp,


Mon Jan  8 03:00:31 2001  Edward M. Lee  <>

	* include/wchar.h: added prototype for wprintf

Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]