SYNOPSIS
#include <fts.h>
FTSENT *fts_children(FTS *sp, int instr);
DESCRIPTION
The
PARAMETERS
- sp
-
Represents the file hierarchy itself.
- instr
-
When set to FTS_NAMEONLY, causes all of the fields in the returned FTSENT structure to be undefined except for fts_name and fts_namelen. When set to 0, the entire FTSENT structure is filled in.
RETURN VALUES
The
- EINVAL
-
The option list was invalid.
- 0
-
The last FTSENT structure returned by
fts_read() is not a directory being visited in pre-order or the directory is empty.
CONFORMANCE
4.4BSD
MULTITHREAD SAFETY LEVEL
Unsafe.
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
chdir() ,fts_close() ,fts_open() ,fts_read() ,fts_set() ,qsort() ,stat()
MKS Toolkit 9.3 Documentation Build 6.