ftw man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

ftw.h(3HEAD)			    Headers			  ftw.h(3HEAD)

NAME
       ftw.h, ftw - file tree traversal

SYNOPSIS
       #include <ftw.h>

DESCRIPTION
       The  <ftw.h> header defines the FTW structure that includes the follow‐
       ing members:

	 int base
	 int level

       The <ftw.h> header defines macros for use as values of  the third argu‐
       ment to the application-supplied function that is  passed as the second
       argument to ftw() and nftw() (see ftw(3C)):

       FTW_F	  file

       FTW_D	  directory

       FTW_DNR	  directory without read permission

       FTW_DP	  directory with subdirectories visited

       FTW_NS	  unknown type; stat() failed

       FTW_SL	  symbolic link

       FTW_SLN	  symbolic link that names a nonexistent file

       The <ftw.h> header defines macros for use as values of the fourth argu‐
       ment to nftw():

       FTW_PHYS	    Physical  walk, does not follow symbolic links. Otherwise,
		    nftw() follows links but does not walk down any path  that
		    crosses itself.

       FTW_MOUNT    The walk does not cross a mount point.

       FTW_DEPTH    All	  subdirectories  are  visited	before	the  directory
		    itself.

       FTW_CHDIR    The walk changes to each direct ory before reading it.

       The <ftw.h> header defines the stat structure and  the  symbolic	 names
       for st_mode and the file type test macros as described in <sys/stat.h>.

       Inclusion  of  the  <ftw.h>  header might also make visible all symbols
       from <sys/stat.h>.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Standard		     │See standards(5).		   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       ftw(3C), stat.h(3HEAD), attributes(5), standards(5)

SunOS 5.11			  10 Sep 2004			  ftw.h(3HEAD)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net