From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f868292008c639ce X-Google-Attributes: gid103376,public From: Hyman Rosen Subject: Re: C vs. Ada - strings Date: 2000/05/05 Message-ID: #1/1 X-Deja-AN: 619655115 Sender: hymie@calumny.jyacc.com References: <390F0D93.F835FAD9@ftw.rsc.raytheon.com> <8es4ad$3d6$1@nnrp1.deja.com> <8esjc3$lp1$1@nnrp1.deja.com> <87og6lv6ix.fsf@deneb.cygnus.argh.org> <8eut0k$het$1@wanadoo.fr> X-Complaints-To: abuse@panix.com X-Trace: news.panix.com 957546624 19911 209.49.126.226 (5 May 2000 17:10:24 GMT) Organization: PANIX Public Access Internet and UNIX, NYC NNTP-Posting-Date: 5 May 2000 17:10:24 GMT Newsgroups: comp.lang.ada Date: 2000-05-05T17:10:24+00:00 List-Id: "Pascal Obry" writes: > Can you enlight us about why one should not use tmpnam() and tempnam() ? Because they just give you a filename without opening it. A file by that name did not exist at the moment when tmpnam() decided that it was OK to return it to you, but that gives you no information about its existence at the time you actually want to use that filename.