@@ -105,68 +105,6 @@ class DirHandle : private NonCopyable<DirHandle> {
105
105
delete ent;
106
106
return size;
107
107
}
108
-
109
- /* * Closes the directory.
110
- *
111
- * @returns
112
- * 0 on success,
113
- * -1 on error.
114
- * @deprecated Replaced by `int DirHandle::close()'
115
- */
116
- MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::close" )
117
- virtual int closedir ()
118
- {
119
- return close ();
120
- };
121
-
122
- /* * Returns the directory entry at the current position, and
123
- * advances the position to the next entry.
124
- *
125
- * @returns
126
- * A pointer to a dirent structure representing the
127
- * directory entry at the current position, or NULL on reaching
128
- * end of directory or error.
129
- * @deprecated Replaced by `ssize_t DirHandle::read(struct dirent *ent)
130
- */
131
- MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::read" )
132
- virtual struct dirent *readdir ()
133
- {
134
- static struct dirent ent;
135
- return (read (&ent) > 0 ) ? &ent : NULL ;
136
- }
137
-
138
- /* * Resets the position to the beginning of the directory.
139
- * @deprecated Replaced by `void DirHandle::rewind()'
140
- */
141
- MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::rewind" )
142
- virtual void rewinddir ()
143
- {
144
- rewind ();
145
- }
146
-
147
- /* * Returns the current position of the DirHandle.
148
- *
149
- * @returns
150
- * the current position,
151
- * -1 on error.
152
- * @deprecated Replaced by `off_t DirHandle::tell()'
153
- */
154
- MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::tell" )
155
- virtual off_t telldir ()
156
- {
157
- return tell ();
158
- }
159
-
160
- /* * Sets the position of the DirHandle.
161
- *
162
- * @param location The location to seek to. Must be a value returned by telldir.
163
- * @deprecated Replaced by `void DirHandle::seek(off_t offset)'
164
- */
165
- MBED_DEPRECATED_SINCE (" mbed-os-5.4" , " Replaced by DirHandle::seek" )
166
- virtual void seekdir (off_t location)
167
- {
168
- seek (location);
169
- }
170
108
};
171
109
172
110
/* *@}*/
0 commit comments