Changeset 9dd23877 in rtems


Ignore:
Timestamp:
Sep 30, 1998, 3:40:47 PM (22 years ago)
Author:
Wade A Smith <warm38@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a65c28e
Parents:
17408b90
Message:

Updated the STATUS CODE section for the truncate routine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/new_chapters/files.t

    r17408b90 r9dd23877  
    4242@item @code{utime} - Change access and/or modification times of an inode
    4343@item @code{ftruncate} - Truncate a file to a specified length
    44 @itme @code{truncate} - Truncate a file to a specified length
     44@item @code{truncate} - Truncate a file to a specified length
    4545@item @code{pathconf} - Gets configuration values for files
    4646@item @code{fpathconf} - Get configuration values for files
    47 @itme @code{mknod} - Create a directory
     47@item @code{mknod} - Create a directory
    4848@end itemize
    4949
     
    13911391@subheading STATUS CODES:
    13921392
    1393 @table @b
    1394 @item E
    1395 The
    1396 
    1397 @end table
    1398 
    1399 @subheading DESCRIPTION:
     1393on sucess, the number of bytes read is returned.  On end of directory,
     13940 is returned.  On error, -1 is returned, and @code{errno} is set
     1395appropriately.
     1396
     1397@table @b
     1398@item EBADF
     1399Invalid file descriptor @code{fd}.
     1400
     1401@item EFAULT
     1402Argument points outside the calling process's address space.
     1403
     1404@item EINVAL
     1405Result buffer is too small.
     1406
     1407@item ENOENT
     1408No such directory.
     1409
     1410@item ENOTDIR
     1411File descriptor does not refer to a directory.
     1412
     1413@end table
     1414
     1415@subheading DESCRIPTION:
     1416
     1417@code{getdents} reads several @code{dirent} structures from the directory
     1418pointed by @code{fd} into the memory area pointed to by @code{dirp}.  The
     1419parameter @code{count} is the size of the memory area. 
    14001420
    14011421@subheading NOTES:
Note: See TracChangeset for help on using the changeset viewer.