| Main index | Section 9 | Options |
#include <sys/param.h>
#include <sys/ucred.h>
#include <sys/vnode.h>
| vp | |
| The vnode to translate. | |
| dvp | |
| The vnode of the parent directory of vp. | |
| cred | |
| The caller credentials. | |
| buf | |
| The buffer into which to prepend the component name. | |
| buflen | |
| The remaining size of the buffer. | |
The default implementation of VOP_VPTOCNP scans through vp, Ns, 's parent directory looking for a dirent with a matching file number. If vp is not a directory, then VOP_VPTOCNP returns ENOENT.
| [ENOMEM] | |
| The buffer was not large enough to hold the vnode's component name. | |
| [ENOENT] | |
| The vnode was not found on the file system. | |
| VOP_VPTOCNP (9) | March 8, 2015 |
| Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs. | ” |
| — Maurice Wilkes | ||