From mboxrd@z Thu Jan 1 00:00:00 1970 From: xmp Subject: Misc C question Date: Wed, 19 Jun 2002 21:46:02 -0500 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20020619214332.A299@nietzsche> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org hi, What is the correct unix-style way to check if a file exists ? create it ? and delete it ?. Maybe trying to fopen() it and if call != NULL it exist, else it doesnt?. I want to know the most standard and used in system such as FreeBSD and solaris, linux. bye