Click here to go to the forum index Click here for the home page
 
Author Message

<  TAP and patch development  ~  Missing C runtime functions

Page 1 of 1
simonc
Posted: Wed Aug 24, 2005 10:02 am Reply with quote
Frequent contributor Joined: 12 Apr 2005 Posts: 5640 Location: Cheltenham
Does anyone know what's up with the c runtime library that Topfield supply. There are some fairly fundamental missing functions eg. sscanf, vsnprintf, atoi, strtol.
If we can't link onto these, does anyone know an easy place to get replacements?
View user's profile Send private message Visit poster's website
deangelj
Posted: Wed Aug 24, 2005 11:26 pm Reply with quote
Frequent contributor Joined: 29 Mar 2005 Posts: 316 Location: Sydney, Australia
Simon, I have some implementations of atoi, vsprintf, and some others. Goto my home page http://users.bigpond.net.au/deangelj/ToppyStuff.htm and download libutils - source code is included.

cheers,
John
View user's profile Send private message
simonc
Posted: Thu Aug 25, 2005 9:56 am Reply with quote
Frequent contributor Joined: 12 Apr 2005 Posts: 5640 Location: Cheltenham
Ah, I didn't notice the others methods in the vsprintf routine.

Has vsprintf been used extensively in TAPs? I got reboots when I tried to use it - a copy of sprintf but with a TAP_Print at the end. It could have been a buffer overrun I suppose.
View user's profile Send private message Visit poster's website
deangelj
Posted: Thu Aug 25, 2005 10:58 pm Reply with quote
Frequent contributor Joined: 29 Mar 2005 Posts: 316 Location: Sydney, Australia
simonc wrote:
Ah, I didn't notice the others methods in the vsprintf routine.

Has vsprintf been used extensively in TAPs? I got reboots when I tried to use it - a copy of sprintf but with a TAP_Print at the end. It could have been a buffer overrun I suppose.
Simon, I've tested it on my own stuff - can't say whether it was extensive though... My testing was also based on the original australian f/w. I have recently updated to our May version but haven't re-tested yet.

cheers,
John
View user's profile Send private message

Display posts from previous:  

All times are GMT + 1 Hour
Page 1 of 1

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum