www.delorie.com/archives/browse.cgi | search |
Date: | Sun, 28 Nov 1999 11:48:49 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Yong-Kiang Goh <ykgoh1 AT singnet DOT com DOT sg> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: File handling |
In-Reply-To: | <81nu0o$v52$1@mango.singnet.com.sg> |
Message-ID: | <Pine.SUN.3.91.991128114832.6867V-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Fri, 26 Nov 1999, Yong-Kiang Goh wrote: > How do I check whether a file exists given its filename You can use library functions `access', `stat', and `__file_exists'. The latter is the fastest, but it is non-portable. If you want portability, use `access', it's much faster than `stat'.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |