How can I write a function analogous to scanf

Q

How can I write a function analogous to scanf, i.e. that accepts similar arguments, and calls scanf to do most of the work?

✍: Guest

A
C99 (but not any earlier C Standard) supports vscanf, vfscanf, and vsscanf.

2015-06-12, 728👍, 0💬