Changeset 266 for trunk/kernel/vfs/vfs.h


Ignore:
Timestamp:
Jul 21, 2017, 1:51:24 PM (7 years ago)
Author:
alain
Message:

Implement vfs_lseek() function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/vfs/vfs.h

    r265 r266  
    229229 * the inode, when a thread makes an open() or opendir() system call.
    230230 * It cannot exist a file structure without an inode structure.
    231  * Aa the fd_array (containing extended pointers on the open file descriptors)* is replicated in all process descriptors, we need a references counter.
     231 * As the fd_array (containing extended pointers on the open file descriptors)
    232232 * is replicated in all process descriptors, we need a references counter.
    233233 *****************************************************************************************/
     234
     235typedef enum
     236{
     237    VFS_SEEK_SET,
     238    VFS_SEEK_CUR,
     239    VFS_SEEK_END,
     240}
     241vfs_lseek_cmd_t;
    234242
    235243typedef enum
Note: See TracChangeset for help on using the changeset viewer.