title: What is the difference between readdir and opendir in FUSE
body: <p>In the <a href="https://libfuse.github.io/doxygen/structfuse__operations.html" rel="nofollow noreferrer">libfuse documentation</a> there are both <code>readdir</code> and <code>opendir</code> as defined operations.</p>
  <p>From what I have found, <code>readdir</code> is the one which will list out the contents of a directory. If so, what is the function of <code>opendir</code>? The documentation states that this opens the directory but what does opening a directory actually mean if it is not simply listing its content?</p>