Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed by
Diff: DirHandle.h
- Revision:
- 11:1c1ebd0324fa
- Parent:
- 8:00a04e5cd407
- Child:
- 27:7110ebee3484
--- a/DirHandle.h Thu May 14 14:44:00 2009 +0000 +++ b/DirHandle.h Fri Aug 28 12:10:11 2009 +0000 @@ -1,5 +1,8 @@ -/* Copyright 2008 ARM Limited. All rights reserved. */ - +/* mbed Microcontroller Library - DirHandler + * Copyright (c) 2008-2009 ARM Limited. All rights reserved. + * sford + */ + #ifndef MBED_DIRHANDLE_H #define MBED_DIRHANDLE_H @@ -46,10 +49,10 @@ * Return the directory entry at the current position, and * advances the position to the next entry. * - * Variables - * returns - A pointer to a dirent structure representing the - * directory entry at the current position, or NULL on reaching - * end of directory or error. + * Returns + * A pointer to a dirent structure representing the + * directory entry at the current position, or NULL on reaching + * end of directory or error. */ virtual struct dirent *readdir()=0; @@ -61,8 +64,8 @@ /* Function telldir * Returns the current position of the DirHandle. * - * Variables - * returns - The current position, or -1 on error. + * Returns + * The current position, or -1 on error. */ virtual off_t telldir() { return -1; } @@ -77,7 +80,7 @@ }; -} /* namespace mbed */ +} // namespace mbed typedef mbed::DirHandle DIR;