From owner-freebsd-questions Tue Jun 9 13:53:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA02938 for freebsd-questions-outgoing; Tue, 9 Jun 1998 13:53:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA02876 for ; Tue, 9 Jun 1998 13:52:52 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.8.7/8.8.2) with SMTP id NAA01168; Tue, 9 Jun 1998 13:55:12 -0700 (PDT) Date: Tue, 9 Jun 1998 13:55:11 -0700 (PDT) From: Dan Busarow To: "Randy A. Katz" cc: freebsd-questions@FreeBSD.ORG Subject: Re: File Exists... In-Reply-To: <3.0.5.32.19980609082620.00bad340@ccsales.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 Jun 1998, Randy A. Katz wrote: > How does one code whether file exists in C? See stat(2) > How does one code that in C? Are there extensive flags like perl has? Returns everything you might want to know about a file, including whether or not it exists. Dan -- Dan Busarow 949 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message