Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 1998 13:55:11 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        "Randy A. Katz" <randyk@ccsales.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: File Exists...
Message-ID:  <Pine.BSF.3.96.980609135253.903C-100000@java.dpcsys.com>
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:
> 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



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