Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA23268; Wed, 13 Dec 95 13:22:27 EST
Received: from halloran-eldar.lcs.mit.edu by MIT.EDU with SMTP
	id AA12317; Wed, 13 Dec 95 13:22:31 EST
Received: from freefall.FreeBSD.ORG by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM)
	id AA09765; Wed, 13 Dec 1995 13:22:20 -0500
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA26897
          Wed, 13 Dec 1995 08:12:29 -0800 (PST)
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) id IAA26626
          for hackers-outgoing; Wed, 13 Dec 1995 08:11:05 -0800 (PST)
Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA26445
          for <hackers@freebsd.org>; Wed, 13 Dec 1995 08:09:51 -0800 (PST)
Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id QAA17697 for <hackers@freebsd.org>; Wed, 13 Dec 1995 16:48:36 +0100
From: Wolfram Schneider <wosch@cs.tu-berlin.de>
Received: (wosch@localhost) by caramba.cs.tu-berlin.de (8.6.12/8.6.9) id QAA09663; Wed, 13 Dec 1995 16:48:30 +0100
Date: Wed, 13 Dec 1995 16:48:30 +0100
Message-Id: <199512131548.QAA09663@caramba.cs.tu-berlin.de>
To: hackers@freebsd.org
Subject: fts(3)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-hackers@freebsd.org
Precedence: bulk


from the man page:
The argument compar() specifies a user-defined function which may be used
to order the traversal of the hierarchy.  It takes two pointers to point-
ers to FTSENT structures as arguments and should return a negative value,
zero, or a positive value to indicate if the file referenced by its first
argument comes before, in any order with respect to, or after, the file
referenced by its second argument.  The fts_accpath, fts_path and
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fts_pathlen fields of the FTSENT structures may never be used in this
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
comparison.  If the fts_info field is set to FTS_NS or FTS_NSOK, the
^^^^^^^^^^
fts_statp field may not either.


Why should I not use this fields? I need fts_accpath for a find(1)
with builtin sort.

Wolfram
