Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 1998 09:04:03 +1200 (NZST)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        "Randy A. Katz" <randyk@ccsales.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: File Exists...
Message-ID:  <Pine.SGI.3.96.980610090240.7973C-100000@tui.pinnacle.co.nz>
In-Reply-To: <3.0.5.32.19980609082620.00bad340@ccsales.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 9 Jun 1998, Randy A. Katz wrote:

> Hello,
> 
> This is a kind of infantile question:
> 
> How does one code whether file exists in C?
> 

Check out stat(2) with `man stat'; or even access(2).
--
Jonathan Chen <jonc@pinnacle.co.nz>
------------------------------------------------------------------------
"We laugh in the face of danger, we drop icecubes down the vest of fear"
                                                 - Edmond Blackadder III


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.96.980610090240.7973C-100000>