From owner-freebsd-hackers Mon Nov 15 22:22:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ind.alcatel.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (Postfix) with ESMTP id 432D514D83 for ; Mon, 15 Nov 1999 22:22:52 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com (mailhub [198.206.181.70]) by ind.alcatel.com (8.9.3+Sun/8.9.1 (ind.alcatel.com 3.0 [OUT])) with SMTP id WAA02931; Mon, 15 Nov 1999 22:22:20 -0800 (PST) X-Origination-Site: Received: from omni.xylan.com by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id WAA24026; Mon, 15 Nov 1999 22:22:19 -0800 Received: from softweyr.com ([204.68.178.39]) by omni.xylan.com (4.1/SMI-4.1 (xylan engr [SPOOL])) id AA09384; Mon, 15 Nov 99 22:22:08 PST Message-Id: <3830F80F.6456DC5@softweyr.com> Date: Mon, 15 Nov 1999 23:22:07 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en Mime-Version: 1.0 To: Kelly Yancey Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Portable way to compare struct stat's? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kelly Yancey wrote: > > Is there a portable method for determining if the contents of two struct > stat's are identical? On a single system, if st_dev and st_ino are equal, you must be referring to the same object. If not, I'd like to hear about it. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message