[PATCH]: export getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked

Nicholas Wourms nwourms@netscape.net
Tue Aug 27 10:51:00 GMT 2002


[stdio with explicit client locking]

These are useful for programs which desire the non-threadsafe 
implementation of the respective functions minus the unlocked suffix.  
These functions are defined under the SUSv2:

http://www.opennc.org/onlinepubs/7908799/xsh/getc_unlocked.html

Since May, newlib has offered these functions for use.  They always get 
picked up by the more recent alphas of diffutils (which I am recompiling 
for the nth time).  Well since they are part of the official spec I 
figured why not export them so they can be of some use?  Attached is a 
diff which exports these newlib symbols & updates the docs to reflect this.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog.txt
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020827/bc3c219b/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: get-put-exports.diff
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020827/bc3c219b/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: get-put-calls.texi.diff
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020827/bc3c219b/attachment-0001.ksh>


More information about the Cygwin-patches mailing list