Changeset 9c4cf0d in mainline for uspace/srv/vfs/vfs.h


Ignore:
Timestamp:
2017-04-02T11:24:06Z (7 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().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.h

    rb19e892 r9c4cf0d  
    205205
    206206extern int vfs_op_clone(int oldfd, int newfd, bool desc);
    207 extern int vfs_op_close(int fd);
    208207extern int vfs_op_mount(int mpfd, unsigned servid, unsigned flags, unsigned instance, const char *opts, const char *fsname, int *outfd);
    209208extern int vfs_op_mtab_get(void);
    210209extern int vfs_op_open(int fd, int flags);
     210extern int vfs_op_put(int fd);
    211211extern int vfs_op_read(int fd, aoff64_t, size_t *out_bytes);
    212212extern int vfs_op_rename(int basefd, char *old, char *new);
Note: See TracChangeset for help on using the changeset viewer.