Fix spelling

This commit is contained in:
Sebastian Huber
2012-12-14 10:17:04 +01:00
parent 6d5ba497b1
commit d0b9295fd9
5 changed files with 36 additions and 36 deletions

View File

@@ -154,7 +154,7 @@ typedef struct rtems_blkdev_request {
* @param[in,out] req The transfer request. * @param[in,out] req The transfer request.
* @param[in] status The status of the operation should be * @param[in] status The status of the operation should be
* - @c RTEMS_SUCCESSFUL, if the operation was successful, * - @c RTEMS_SUCCESSFUL, if the operation was successful,
* - @c RTEMS_IO_ERROR, if some sort of input or output error occured, or * - @c RTEMS_IO_ERROR, if some sort of input or output error occurred, or
* - @c RTEMS_UNSATISFIED, if media is no more present. * - @c RTEMS_UNSATISFIED, if media is no more present.
*/ */
static inline void rtems_blkdev_request_done( static inline void rtems_blkdev_request_done(

View File

@@ -172,7 +172,7 @@ typedef void (*rtems_filesystem_eval_path_t)(
* @param[in] namelen Length of the name for the new link in characters. * @param[in] namelen Length of the name for the new link in characters.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_link(). * @see rtems_filesystem_default_link().
*/ */
@@ -190,7 +190,7 @@ typedef int (*rtems_filesystem_link_t)(
* @param[in] mode The new mode of the node * @param[in] mode The new mode of the node
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_fchmod(). * @see rtems_filesystem_default_fchmod().
*/ */
@@ -207,7 +207,7 @@ typedef int (*rtems_filesystem_fchmod_t)(
* @param[in] group Group ID for the node. * @param[in] group Group ID for the node.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_chown(). * @see rtems_filesystem_default_chown().
*/ */
@@ -228,7 +228,7 @@ typedef int (*rtems_filesystem_chown_t)(
* @param[in, out] loc Location to clone. * @param[in, out] loc Location to clone.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_clonenode(). * @see rtems_filesystem_default_clonenode().
*/ */
@@ -259,7 +259,7 @@ typedef void (*rtems_filesystem_freenode_t)(
* @param[in] mt_entry The mount table entry. * @param[in] mt_entry The mount table entry.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_mount(). * @see rtems_filesystem_default_mount().
*/ */
@@ -277,7 +277,7 @@ typedef int (*rtems_filesystem_mount_t) (
* @param[in] data The data provided by the user. * @param[in] data The data provided by the user.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
*/ */
typedef int (*rtems_filesystem_fsmount_me_t)( typedef int (*rtems_filesystem_fsmount_me_t)(
rtems_filesystem_mount_table_entry_t *mt_entry, rtems_filesystem_mount_table_entry_t *mt_entry,
@@ -294,7 +294,7 @@ typedef int (*rtems_filesystem_fsmount_me_t)(
* @param[in] mt_entry The mount table entry. * @param[in] mt_entry The mount table entry.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_unmount(). * @see rtems_filesystem_default_unmount().
*/ */
@@ -361,7 +361,7 @@ typedef rtems_filesystem_node_types_t (*rtems_filesystem_node_type_t)(
* @param[in] dev Optional device identifier for the new node. * @param[in] dev Optional device identifier for the new node.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_mknod(). * @see rtems_filesystem_default_mknod().
*/ */
@@ -380,7 +380,7 @@ typedef int (*rtems_filesystem_mknod_t)(
* @param[in] loc The location of the node. * @param[in] loc The location of the node.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_rmnod(). * @see rtems_filesystem_default_rmnod().
*/ */
@@ -397,7 +397,7 @@ typedef int (*rtems_filesystem_rmnod_t)(
* @param[in] modtime Modification for the node. * @param[in] modtime Modification for the node.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_utime(). * @see rtems_filesystem_default_utime().
*/ */
@@ -417,7 +417,7 @@ typedef int (*rtems_filesystem_utime_t)(
* @param[in] target Contents for the symbolic link. * @param[in] target Contents for the symbolic link.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_symlink(). * @see rtems_filesystem_default_symlink().
*/ */
@@ -436,7 +436,7 @@ typedef int (*rtems_filesystem_symlink_t)(
* @param[in] bufsize The size of the buffer in characters. * @param[in] bufsize The size of the buffer in characters.
* *
* @retval non-negative Size of the actual contents in characters. * @retval non-negative Size of the actual contents in characters.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_readlink(). * @see rtems_filesystem_default_readlink().
*/ */
@@ -456,7 +456,7 @@ typedef ssize_t (*rtems_filesystem_readlink_t)(
* @param[in] namelen Length of the name for the new node in characters. * @param[in] namelen Length of the name for the new node in characters.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_rename(). * @see rtems_filesystem_default_rename().
*/ */
@@ -475,7 +475,7 @@ typedef int (*rtems_filesystem_rename_t)(
* @param[out] buf Buffer for file system information. * @param[out] buf Buffer for file system information.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_statvfs(). * @see rtems_filesystem_default_statvfs().
*/ */
@@ -758,7 +758,7 @@ int rtems_filesystem_default_statvfs(
* @param[in] mode Optional mode for node creation. * @param[in] mode Optional mode for node creation.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_open(). * @see rtems_filesystem_default_open().
*/ */
@@ -775,7 +775,7 @@ typedef int (*rtems_filesystem_open_t)(
* @param[in, out] iop The IO pointer. * @param[in, out] iop The IO pointer.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_close(). * @see rtems_filesystem_default_close().
*/ */
@@ -793,7 +793,7 @@ typedef int (*rtems_filesystem_close_t)(
* @param[in] count The size of the buffer in characters. * @param[in] count The size of the buffer in characters.
* *
* @retval non-negative Count of read characters. * @retval non-negative Count of read characters.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_read(). * @see rtems_filesystem_default_read().
*/ */
@@ -813,7 +813,7 @@ typedef ssize_t (*rtems_filesystem_read_t)(
* @param[in] count The size of the buffer in characters. * @param[in] count The size of the buffer in characters.
* *
* @retval non-negative Count of written characters. * @retval non-negative Count of written characters.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_write(). * @see rtems_filesystem_default_write().
*/ */
@@ -831,7 +831,7 @@ typedef ssize_t (*rtems_filesystem_write_t)(
* @param[in, out] buffer The buffer for IO control request data. * @param[in, out] buffer The buffer for IO control request data.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_ioctl(). * @see rtems_filesystem_default_ioctl().
*/ */
@@ -849,7 +849,7 @@ typedef int (*rtems_filesystem_ioctl_t)(
* @param[in] whence The reference position for the offset. * @param[in] whence The reference position for the offset.
* *
* @retval non-negative The new offset from the beginning of the file. * @retval non-negative The new offset from the beginning of the file.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_lseek(), * @see rtems_filesystem_default_lseek(),
* rtems_filesystem_default_lseek_file(), and * rtems_filesystem_default_lseek_file(), and
@@ -868,7 +868,7 @@ typedef off_t (*rtems_filesystem_lseek_t)(
* @param[out] stat The buffer to status information. * @param[out] stat The buffer to status information.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_fstat(). * @see rtems_filesystem_default_fstat().
*/ */
@@ -884,7 +884,7 @@ typedef int (*rtems_filesystem_fstat_t)(
* @param[in] length The new length in characters. * @param[in] length The new length in characters.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_ftruncate() and * @see rtems_filesystem_default_ftruncate() and
* rtems_filesystem_default_ftruncate_directory(). * rtems_filesystem_default_ftruncate_directory().
@@ -900,7 +900,7 @@ typedef int (*rtems_filesystem_ftruncate_t)(
* @param[in, out] iop The IO pointer. * @param[in, out] iop The IO pointer.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_fsync_or_fdatasync() and * @see rtems_filesystem_default_fsync_or_fdatasync() and
* rtems_filesystem_default_fsync_or_fdatasync_success(). * rtems_filesystem_default_fsync_or_fdatasync_success().
@@ -915,7 +915,7 @@ typedef int (*rtems_filesystem_fsync_t)(
* @param[in, out] iop The IO pointer. * @param[in, out] iop The IO pointer.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The errno is set to indicate the error. * @retval -1 An error occurred. The errno is set to indicate the error.
* *
* @see rtems_filesystem_default_fsync_or_fdatasync() and * @see rtems_filesystem_default_fsync_or_fdatasync() and
* rtems_filesystem_default_fsync_or_fdatasync_success(). * rtems_filesystem_default_fsync_or_fdatasync_success().
@@ -931,7 +931,7 @@ typedef int (*rtems_filesystem_fdatasync_t)(
* @param[in] cmd Control command. * @param[in] cmd Control command.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval errno An error occured. This value is assigned to errno. * @retval errno An error occurred. This value is assigned to errno.
* *
* @see rtems_filesystem_default_fcntl(). * @see rtems_filesystem_default_fcntl().
*/ */
@@ -1053,7 +1053,7 @@ off_t rtems_filesystem_default_lseek_directory(
* *
* This function has no protection against concurrent access. * This function has no protection against concurrent access.
* *
* @retval -1 An error occured. In case an integer overflow occured, then the * @retval -1 An error occurred. In case an integer overflow occurred, then the
* errno will be set to EOVERFLOW. In case the new offset is negative, then * errno will be set to EOVERFLOW. In case the new offset is negative, then
* the errno will be set to EINVAL. In case the whence is SEEK_END and the * the errno will be set to EINVAL. In case the whence is SEEK_END and the
* fstat() handler to obtain the current file size returned an error status, * fstat() handler to obtain the current file size returned an error status,
@@ -1401,7 +1401,7 @@ extern rtems_fs_init_functions_t rtems_fs_init_helper;
* The @a mode value selects the access permissions of the directory. * The @a mode value selects the access permissions of the directory.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The @c errno indicates the error. * @retval -1 An error occurred. The @c errno indicates the error.
*/ */
extern int rtems_mkdir(const char *path, mode_t mode); extern int rtems_mkdir(const char *path, mode_t mode);
@@ -1509,7 +1509,7 @@ extern rtems_chain_control rtems_filesystem_mount_table;
* The @a mount_h handler will be used to mount a file system of this @a type. * The @a mount_h handler will be used to mount a file system of this @a type.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The @c errno indicates the error. * @retval -1 An error occurred. The @c errno indicates the error.
*/ */
int rtems_filesystem_register( int rtems_filesystem_register(
const char *type, const char *type,
@@ -1520,7 +1520,7 @@ int rtems_filesystem_register(
* @brief Unregisters a file system @a type. * @brief Unregisters a file system @a type.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The @c errno indicates the error. * @retval -1 An error occurred. The @c errno indicates the error.
*/ */
int rtems_filesystem_unregister( int rtems_filesystem_unregister(
const char *type const char *type
@@ -1542,7 +1542,7 @@ int rtems_filesystem_unregister(
* unpredictable effects. * unpredictable effects.
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The @c errno indicates the error. * @retval -1 An error occurred. The @c errno indicates the error.
* *
* @see ClassicEventTransient. * @see ClassicEventTransient.
*/ */
@@ -1582,7 +1582,7 @@ int unmount(
* @see rtems_filesystem_register() and mount_and_make_target_path(). * @see rtems_filesystem_register() and mount_and_make_target_path().
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The @c errno indicates the error. * @retval -1 An error occurred. The @c errno indicates the error.
*/ */
int mount( int mount(
const char *source, const char *source,
@@ -1601,7 +1601,7 @@ int mount(
* @see mount(). * @see mount().
* *
* @retval 0 Successful operation. * @retval 0 Successful operation.
* @retval -1 An error occured. The @c errno indicates the error. * @retval -1 An error occurred. The @c errno indicates the error.
*/ */
int mount_and_make_target_path( int mount_and_make_target_path(
const char *source, const char *source,

View File

@@ -776,7 +776,7 @@ void rtems_filesystem_eval_path_error(
* @brief Checks that the locations exist in the same file system instance. * @brief Checks that the locations exist in the same file system instance.
* *
* @retval 0 The locations exist and are in the same file system instance. * @retval 0 The locations exist and are in the same file system instance.
* @retval -1 An error occured. The @c errno indicates the error. * @retval -1 An error occurred. The @c errno indicates the error.
*/ */
int rtems_filesystem_location_exists_in_same_instance_as( int rtems_filesystem_location_exists_in_same_instance_as(
const rtems_filesystem_location_info_t *a, const rtems_filesystem_location_info_t *a,

View File

@@ -46,7 +46,7 @@
* *
* @param what The message to print is the error is not zero. * @param what The message to print is the error is not zero.
* @param error The error code. * @param error The error code.
* @retval -1 An error has occured. * @retval -1 An error has occurred.
* @retval 0 No error. * @retval 0 No error.
*/ */
int rtems_rfs_rtems_error (const char* mesg, int error); int rtems_rfs_rtems_error (const char* mesg, int error);

View File

@@ -558,7 +558,7 @@ bool _Heap_Free( Heap_Control *heap, void *addr );
* If @a dump is @c true, then diagnostic messages will be printed to standard * If @a dump is @c true, then diagnostic messages will be printed to standard
* output. In this case @a source is used to mark the output lines. * output. In this case @a source is used to mark the output lines.
* *
* Returns @c true if no errors occured, and @c false if the heap is corrupt. * Returns @c true if no errors occurred, and @c false if the heap is corrupt.
*/ */
bool _Heap_Walk( bool _Heap_Walk(
Heap_Control *heap, Heap_Control *heap,