typedef struct _iobuf FILE;
From: Beefheart (testtest36_at_hotmail.com)
Date: 04/30/04
- Next message: SM Ryan: "Re: Expat, decision making on element-name"
- Previous message: Peter Dunker: "Re: Expat, decision making on element-name"
- Next in thread: Kenneth Brody: "Re: typedef struct _iobuf FILE;"
- Reply: Kenneth Brody: "Re: typedef struct _iobuf FILE;"
- Reply: Default User: "Re: typedef struct _iobuf FILE;"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Apr 2004 15:44:18 +0100
I have some c code which I have acquired and would like to use,
unfortunately all the code (there is a lot of it) is expecting a passed
FILE* pointer.
The data I have is of the correct type but it is in memory. Is there a way
I can create a FILE structure and point it to the data in memory, or
generally convert my in memory data to a FILE structure?
I know that I could always save the data in memory to disk and then load it
again, to acquire the FILE structure but I would rather not.
many thanks
- Next message: SM Ryan: "Re: Expat, decision making on element-name"
- Previous message: Peter Dunker: "Re: Expat, decision making on element-name"
- Next in thread: Kenneth Brody: "Re: typedef struct _iobuf FILE;"
- Reply: Kenneth Brody: "Re: typedef struct _iobuf FILE;"
- Reply: Default User: "Re: typedef struct _iobuf FILE;"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|