[PATCH] error.h

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Wed May 18 00:21:00 GMT 2011


This patch series adds error.h and the error(3) functions, a GNU
extension:

http://www.kernel.org/doc/man-pages/online/pages/man3/error.3.html

I implemented this within Cygwin itself instead of newlib, because it is
a GNU extension which depends on program_invocation_name, another GNU
extension available only in Cygwin.

Patches for winsup/cygwin and winsup/doc, the new error.h header, and a
test application, attached.


Yaakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.patch
Type: text/x-patch
Size: 4871 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110518/c3373c96/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doc-error.patch
Type: text/x-patch
Size: 800 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110518/c3373c96/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.h
Type: text/x-chdr
Size: 613 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110518/c3373c96/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error-test.c
Type: text/x-csrc
Size: 1983 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110518/c3373c96/attachment-0003.bin>


More information about the Cygwin-patches mailing list