Did you know ...
Search Documentation:
Predicate getcwd/1
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
library
dialect
bim.pl
hprolog.pl -- hProlog compatibility library
ifprolog.pl -- IF/Prolog compatibility package
ifprolog_goal_expansion/2
context/2
ifprolog_term_expansion/2
calling_context/1
context/2
block/3
exit_block/1
cut_block/1
modify_mode/3
debug_mode/3
ifprolog_debug/1
debug_config/3
float_format/2
program_parameters/1
user_parameters/1
match/2
match/3
lower_upper/2
load/1
file_test/2
filepos/2
getcwd/1
filepos/3
assign_alias/2
writeq_atom/2
write_atom/2
current_error/1
write_formatted_atom/3
write_formatted/2
write_formatted/3
get_until/3
get_until/4
atom_part/4
atom_prefix/3
atom_suffix/3
atom_split/3
if_concat_atom/3
if_concat_atom/2
getchar/3
parse_atom/6
index/3
list_length/2
for/3
prolog_version/1
proroot/1
system_name/1
localtime/9
current_global/1
get_global/2
set_global/2
unset_global/1
current_default_module/1
set_default_module/1
asserta_with_names/2
assertz_with_names/2
clause_with_names/3
retract_with_names/2
predicate_type/2
current_visible/2
current_signal/2
digit/1
letter/1
sicstus.pl -- SICStus 3 compatibility library
sicstus4.pl -- SICStus 4 compatibility library
xsb.pl -- XSB Prolog compatibility layer
yap.pl -- YAP Compatibility module
getcwd
(-Dir)
The predicate
getcwd/1
unifies
Dir
with the full pathname of the current working directory.