A safe scanf function

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

 



If I am not wrong, a safe alternate for scanf could be (relatively) easily 
written which simply uses getline and sscanf -- thereby replacing the 
original scanf function.

Why has not anyone written such a function and included it into the GNU C 
library? Myself, I may write such a function for a specific case in my 
program, but to modify the original library function I lack the know-how.

I request one of the guru-s here to do this most helpful task.

Thank you.

-- 

Tux #395953 resides at http://samvit.org
playing with KDE 3.51 on SUSE Linux 10.0
$ date [] CCE +2006-02-26 W08-7 UTC+0530
-
: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux