[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [patch #3750] Allow passing user data to stdio fdevopen()

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


                 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



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.


This item URL is:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]