Jump to content

Delete a file: Difference between revisions

m
OCaml: rmdir has been added to Sys
No edit summary
m (OCaml: rmdir has been added to Sys)
Line 1,250:
 
<syntaxhighlight lang="ocaml">Sys.remove "input.txt";;
Sys.remove "/input.txt";;</syntaxhighlight>
Sys.rmdir "docs";;
Sys.rmdir "/docs";;</syntaxhighlight>
 
with the Unix library:
559

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.