Simple vsscanf source code?

R

Ray Mitchell

Hello,

I realize that the source code for vsscanf is available from several
sources, such as GNU. However, all such source code I've found so far is
filled with cryptic (to me) #ifdefs, system stuff, and basically all kinds
of
general things related to a particular implementation.

I'm looking for a simple concise generic C99 version that I can easily adapt
into my application without having to look all over the place for a
seemingly
unending litany of cryptic "helper" functions. I'm sure I could write my
own
version but I'd rather not go through the pain if I can avoid it.

Thanks,
Ray Mitchell
 
M

Malcolm

Ray Mitchell said:
I realize that the source code for vsscanf is available from several
sources, such as GNU. However, all such source code I've found so far is
filled with cryptic (to me) #ifdefs, system stuff, and basically all kinds
of general things related to a particular implementation.

I'm looking for a simple concise generic C99 version that I can easily adapt
into my application without having to look all over the place for a
seemingly
unending litany of cryptic "helper" functions. I'm sure I could write my
own
version but I'd rather not go through the pain if I can avoid it.
Plauger, "The Standard C Library". Mr Plauger occasionally contributes to
this ng, so if he's reading this I'm sure he'll be happy to give you more
information.
 
R

Ray Mitchell

Malcolm said:
Plauger, "The Standard C Library". Mr Plauger occasionally contributes to
this ng, so if he's reading this I'm sure he'll be happy to give you more
information.

Thanks Malcom. But I did purchase the source code for the generic standard
C and C++ libraries from Dinkumware several years ago. While I'm sure it is
very good software it still is very complex with lots of hooks and
conditionals for various implementations. As such, I've never been able to
build any library from it, but I'm sure that's due to my own ineptitude. I
have also attempted to extract the vsscanf code on several occasions but
have given up each time. The simplest approach may be to simply write a
dedicated vsscanf myself, since I obviously need the practice anyway!

Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top