@@ -105,6 +105,7 @@ class DirHandle : private NonCopyable<DirHandle> {
105
105
* @returns
106
106
* 0 on success,
107
107
* -1 on error.
108
+ * @deprecated Replaced by `int DirHandle::close()'
108
109
*/
109
110
MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::close" )
110
111
virtual int closedir () { return close (); };
@@ -116,6 +117,7 @@ class DirHandle : private NonCopyable<DirHandle> {
116
117
* A pointer to a dirent structure representing the
117
118
* directory entry at the current position, or NULL on reaching
118
119
* end of directory or error.
120
+ * @deprecated Replaced by `ssize_t DirHandle::read(struct dirent *ent)
119
121
*/
120
122
MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::read" )
121
123
virtual struct dirent *readdir ()
@@ -125,6 +127,7 @@ class DirHandle : private NonCopyable<DirHandle> {
125
127
}
126
128
127
129
/* * Resets the position to the beginning of the directory.
130
+ * @deprecated Replaced by `void DirHandle::rewind()'
128
131
*/
129
132
MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::rewind" )
130
133
virtual void rewinddir () { rewind (); }
@@ -134,13 +137,15 @@ class DirHandle : private NonCopyable<DirHandle> {
134
137
* @returns
135
138
* the current position,
136
139
* -1 on error.
140
+ * @deprecated Replaced by `off_t DirHandle::tell()'
137
141
*/
138
142
MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::tell" )
139
143
virtual off_t telldir () { return tell (); }
140
144
141
145
/* * Sets the position of the DirHandle.
142
146
*
143
147
* @param location The location to seek to. Must be a value returned by telldir.
148
+ * @deprecated Replaced by `void DirHandle::seek(off_t offset)'
144
149
*/
145
150
MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::seek" )
146
151
virtual void seekdir (off_t location) { seek (location); }
0 commit comments