Lab 1 Program C
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;