|
From: | anonymous |
Subject: | [avr-libc-dev] [patch #3750] Allow passing user data to stdio fdevopen() get and put methods. |
Date: | Fri, 18 Feb 2005 01:25:14 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 |
URL: <http://savannah.nongnu.org/patch/?func=detailitem&item_id=3750> Summary: Allow passing user data to stdio fdevopen() get and put methods. Project: AVR C Runtime Library Submitted by: None Submitted on: Thu 02/17/05 at 20:25 Category: None Priority: 3 - Low Status: None Privacy: Public Assigned to: None Originator Email: address@hidden Open/Closed: Open _______________________________________________________ Details: This patch allows inserting stream specific data into a FILE * object making it possible to have many streams open that use generic get and put methods and still remain reentrant and store stream specific state information. Expect this patch to break existing code which uses fdevopen(). Migration is trivial though and the flexibility gained with the get and put methods was worth the effort to me. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 02/17/05 at 20:25 Name: avr-libc-put-get-stream-data.diff Size: 11.49KB By: None First implementation. Patch against cvs head. <http://savannah.nongnu.org/patch/download.php?item_id=3750&item_file_id=4193> _______________________________________________________ This item URL is: <http://savannah.nongnu.org/patch/?func=detailitem&item_id=3750> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |