Re: A safe scanf function

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

 



Monday, 27 February 2006 21:16 samaye tvayaa likhitam:

> And scanf() isn't "unsafe"; it just doesn't do what you want in your
> particular application. There are plenty of situations where scanf()
> does the right thing and getline() + sscanf() doesn't; e.g.:

OK, so scanf does have its own applications. 

I would like to place on record that I used fgets and sscanf and the problem I 
was experiencing was totally removed.

-- 

Tux #395953 resides at http://samvit.org
playing with KDE 3.51 on SUSE Linux 10.0
$ date [] CCE +2006-02-28 W09-2 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