- ext
- clib
- socket.pl -- Network socket (TCP and UDP) library
- uid.pl -- User and group management on Unix systems
- unix.pl -- Unix specific operations
- syslog.pl -- Unix syslog interface
- filesex.pl -- Extended operations on files
- uri.pl -- Process URIs
- process.pl -- Create processes and redirect I/O
- time.pl -- Time and alarm library
- sha.pl -- SHA secure hashes
- crypt.pl
- memfile.pl
- uuid.pl -- Universally Unique Identifier (UUID) Library
- hash_stream.pl -- Maintain a hash on a stream
- md5.pl -- MD5 hashes
- prolog_stream.pl -- A stream with Prolog callbacks
- udp_broadcast.pl -- A UDP broadcast proxy
- streampool.pl -- Input multiplexing
- cgi.pl -- Read CGI parameters
- rlimit.pl
- clib
- directory_member(+Directory, -Member, +Options) is nondet
- True when Member is a path inside Directory. Options defined are:
- recursive(+Boolean)
- If
true
(defaultfalse
), recurse into subdirectories - follow_links(+Boolean)
- If
true
(default), follow symbolic links. - file_type(+Type)
- See absolute_file_name/3.
- extensions(+List)
- Only return entries whose extension appears in List.
- file_errors(+Errors)
- How to handle errors. One of
fail
,warning
orerror
. Default iswarning
. Errors notably happen if a directory is unreadable or a link points nowhere. - access(+Access)
- Only return entries with Access
- matches(+GlobPattern)
- Only return files that match GlobPattern.
- exclude(+GlobPattern)
- Exclude files matching GlobPattern.
- exclude_directory(+GlobPattern)
- Do not recurse into directories matching GlobPattern.
- hidden(+Boolean)
- If
true
(default), also return hidden files.
This predicate is safe against cycles introduced by symbolic links to directories.
The idea for a non-deterministic file search predicate comes from Nicos Angelopoulos.