Changeset 67e881c in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2017-03-30T20:59:36Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a56cef9
Parents:
79ea5af
Message:

Rename ftruncate() to vfs_resize()

Location:
uspace/lib/c/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/vfs.h

    r79ea5af r67e881c  
    6565        VFS_IN_READ = IPC_FIRST_USER_METHOD,
    6666        VFS_IN_WRITE,
    67         VFS_IN_TRUNCATE,
     67        VFS_IN_RESIZE,
    6868        VFS_IN_STAT,
    6969        VFS_IN_CLOSE,
  • uspace/lib/c/include/unistd.h

    r79ea5af r67e881c  
    6161extern ssize_t read(int, aoff64_t *, void *, size_t);
    6262
    63 extern int ftruncate(int, aoff64_t);
    64 
    6563extern int close(int);
    6664extern int fsync(int);
  • uspace/lib/c/include/vfs/vfs.h

    r79ea5af r67e881c  
    9090extern int vfs_root(void);
    9191extern void vfs_root_set(int);
     92extern int vfs_resize(int, aoff64_t);
    9293extern int vfs_stat(int, struct stat *);
    9394extern int vfs_stat_path(const char *, struct stat *);
Note: See TracChangeset for help on using the changeset viewer.