Deutsch English Français Italiano |
<v4lm16$3s87h$4@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: Whaddaya think? Date: Sun, 16 Jun 2024 03:26:30 -0000 (UTC) Organization: A noiseless patient Spider Lines: 10 Message-ID: <v4lm16$3s87h$4@dont-email.me> References: <666ded36$0$958$882e4bbb@reader.netnews.com> <20240616015649.000051a0@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 16 Jun 2024 05:26:30 +0200 (CEST) Injection-Info: dont-email.me; posting-host="226f25248701f9e2b898433032a62efe"; logging-data="4071665"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/l9kNBVFYcw4t8eEGbSnXm" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:jVArQPEXNH+phxnuca56GDQDdAA= Bytes: 1375 On Sun, 16 Jun 2024 01:56:49 +0300, Michael S wrote: > If you want to preserve you sanity, never use fscanf(). Quoth the man page <https://manpages.debian.org/3/scanf.3.en.html>: It is very difficult to use these functions correctly, and it is preferable to read entire lines with fgets(3) or getline(3) and parse them later with sscanf(3) or more specialized functions such as strtol(3).