[#AppInitLockDirectories]
= AppInitLockDirectories
:mrdocs:

Lock bitcoin core critical directories&period;

== Synopsis

Declared in `&lt;init&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
AppInitLockDirectories();
----

== Description

[NOTE]
====
This should only be done after daemonization&period; Do not call Shutdown() if this function fails&period;

====

== Return Value

true if the critical directories were locked successfully&period;

== Preconditions

* Parameters should be parsed and config file should be read, AppInitSanityChecks should have been called&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
