From 7172fd9b22bbb794858c939534144fc6e77e2674 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 9 May 2009 13:11:12 +0000 Subject: [PATCH] fix typos git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1765 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttxUserGuide.html | 112 +++++++++++++++--------------- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index de3e370b87..63a54e7159 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -13,7 +13,7 @@

NuttX Operating System

User's Manual

by

Gregory Nutt

-

Last Updated: March 13, 2009

+

Last Updated: May 9, 2009

@@ -184,7 +184,7 @@ paragraphs. were started from the same parent thread.

- The following task control interfaces are provided by Nuttx: + The following task control interfaces are provided by NuttX:

Returned Values: - The value of the valiable (read-only) or NULL on failure. + The value of the variable (read-only) or NULL on failure.

2.10.2 putenv

@@ -5906,7 +5906,7 @@ interface of the same name.

Returned Values: - Zero on sucess. + Zero on success.

2.10.3 clearenv

@@ -6018,27 +6018,27 @@ interface of the same name.

Overview. NuttX includes an optional, scalable file system. - This file-system may be omitted altogther; NuttX does not depend on the presence + This file-system may be omitted altogether; NuttX does not depend on the presence of any file system.

Pseudo Root File System. - Or, a simple in-memory, psuedo file system can be enabled. + Or, a simple in-memory, pseudo file system can be enabled. This simple file system can be enabled setting the CONFIG_NFILE_DESCRIPTORS option to a non-zero value. This is an in-memory file system because it does not require any storage medium or block driver support. Rather, file system contents are generated on-the-fly as referenced via standard file system operations (open, close, read, write, etc.). - In this sense, the file system is psuedo file system (in the + In this sense, the file system is pseudo file system (in the same sense that the Linux /proc file system is also - referred to as a psuedo file system). + referred to as a pseudo file system).

- Any user supplied data or logic can be accessed via the psuedo-file system. + Any user supplied data or logic can be accessed via the pseudo-file system. Built in support is provided for character and block drivers in the - /dev psuedo file system directory. + /dev pseudo file system directory.

Mounted File Systems @@ -6046,7 +6046,7 @@ interface of the same name. devices that provide access to true file systems backed up via some mass storage device. NuttX supports the standard mount() command that allows - a block driver to be bound to a mountpoint within the psuedo file system + a block driver to be bound to a mount-point within the pseudo file system and to a a file system. At present, NuttX supports only the VFAT file system.

@@ -6055,10 +6055,10 @@ interface of the same name. From a programming perspective, the NuttX file system appears very similar to a Linux file system. However, there is a fundamental difference: - The NuttX root file system is a psuedo file system and true file systems may be - mounted in the psuedo file system. + The NuttX root file system is a pseudo file system and true file systems may be + mounted in the pseudo file system. In the typical Linux installation by comparison, the Linux root file system - is a true file system and psuedo file systems may be mounted in the true, + is a true file system and pseudo file systems may be mounted in the true, root file system. The approach selected by NuttX is intended to support greater scalability from the very tiny platform to the moderate platform. @@ -6165,7 +6165,7 @@ interface of the same name. Returned Values:

- On success, the number of structures that have nonzero revents fields. + On success, the number of structures that have nonzero revents fields. A value of 0 indicates that the call timed out and no file descriptors were ready. On error, -1 is returned, and errno is set appropriately:

@@ -6432,7 +6432,7 @@ struct fat_format_s bad FAT size in fmt, bad cluster size in fmt
  • ENOENT - - pathname does not refer to anything in the filesystem. + pathname does not refer to anything in the file-system.
  • ENOTBLK - pathname does not refer to a block driver @@ -6454,14 +6454,14 @@ struct fat_format_s access media under the following very restrictive conditions:
    1. - The filesystem supports the FIOC_MMAP ioctl command. + The file-system supports the FIOC_MMAP ioctl command. Any file system that maps files contiguously on the media should support this ioctl command. By comparison, most file system scatter files over the media in non-contiguous sectors. As of this writing, ROMFS is the only file system that meets this requirement.
    2. - The underly block driver supports the BIOC_XIPBASE ioctl command + The underlying block driver supports the BIOC_XIPBASE ioctl command that maps the underlying media to a randomly accessible address. At present, only the RAM/ROM disk driver does this.
    3. @@ -6588,7 +6588,7 @@ FAR void *mmap(FAR void *start, size_t length, int prot, int flags, int fd, off_ contained both of these values.
    4. ENODEV - - The underlying filesystem of the specified file does not support memory mapping. + The underlying file-system of the specified file does not support memory mapping.
    5. @@ -7172,7 +7172,7 @@ Those socket APIs are discussed in the following paragraphs.

      Description: - getsockopt() retrieve thse value for the option specified by the + getsockopt() retrieve those value for the option specified by the option argument for the socket specified by the sockfd argument. If the size of the option value is greater than value_len, the value stored in the object pointed to by the value argument will be silently