Provides the BEntry class and entry_ref implementations.
More...
Provides the BEntry class and entry_ref implementations.
◆ get_ref_for_path()
Returns an entry_ref for a given path.
- Parameters
-
path | The path name referring to the entry. |
ref | The entry_ref structure to be filled in. |
- Returns
- A status code.
- Return values
-
B_OK | Everything went fine. |
B_BAD_VALUE | NULL path or ref. |
B_ENTRY_NOT_FOUND | A (non-leaf) path component does not exist. |
B_NO_MEMORY | Insufficient memory for successful completion. |
- Since
- BeOS R4
◆ operator<()
Returns whether an entry is less than another.
The components are compared in order device
, directory
, name
. A NULL
name
is less than any non-NULL
name.
- Return values
-
- Since
- Haiku R1