No prototype for sockatmark
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Feb 24 13:55:00 GMT 2015
On Feb 23 18:06, Ken Brown wrote:
> sockatmark was added to Cygwin recently, but its prototype wasn't added to /usr/include/sys/socket.h. Is the following the right way to fix this, or is it a newlib issue?
>
> Index: winsup/cygwin/include/sys/socket.h
> ===================================================================
> RCS file: /cvs/src/src/winsup/cygwin/include/sys/socket.h,v
> retrieving revision 1.12
> diff -u -p -r1.12 socket.h
> --- winsup/cygwin/include/sys/socket.h 31 May 2013 18:08:25 -0000 1.12
> +++ winsup/cygwin/include/sys/socket.h 23 Feb 2015 23:03:12 -0000
> @@ -43,6 +43,7 @@ extern "C"
> socklen_t *__optlen);
> int shutdown (int, int);
> int socket (int __family, int __type, int __protocol);
> + int sockatmark (int __fd);
> int socketpair (int __domain, int __type, int __protocol, int *__socket_vec);
>
> struct servent *getservbyname (const char *__name, const char *__proto);
Patch applied.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150224/4de8b7fa/attachment.sig>
More information about the Cygwin
mailing list