Changeset 9c4cf0d in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2017-04-02T11:24:06Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
151f1cc
Parents:
b19e892
Message:

Rename close() to vfs_put()

This is motivated mainly by the fact that a file handle does not
necessarily correspond to an open file and close() was no longer the
the opposite operation to open().

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

Legend:

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

    rb19e892 r9c4cf0d  
    6767        VFS_IN_RESIZE,
    6868        VFS_IN_STAT,
    69         VFS_IN_CLOSE,
    7069        VFS_IN_MOUNT,
     70        VFS_IN_PUT,
    7171        VFS_IN_UNMOUNT,
    7272        VFS_IN_SYNC,
  • uspace/lib/c/include/unistd.h

    rb19e892 r9c4cf0d  
    6161extern ssize_t read(int, aoff64_t *, void *, size_t);
    6262
    63 extern int close(int);
    64 
    6563extern char *getcwd(char *, size_t);
    6664extern int chdir(const char *);
  • uspace/lib/c/include/vfs/vfs.h

    rb19e892 r9c4cf0d  
    9797    unsigned, int *);
    9898extern int vfs_open(int, int);
     99extern int vfs_put(int);
    99100extern int vfs_resize(int, aoff64_t);
    100101extern int vfs_root(void);
Note: See TracChangeset for help on using the changeset viewer.