Changeset 23a0368 in mainline for uspace/lib/c/include/sys/stat.h


Ignore:
Timestamp:
2017-03-30T19:52:23Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ae7bfbbd
Parents:
b5b5d84
Message:

Rename stat() to vfs_stat_path() and fstat() to vfs_stat()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/sys/stat.h

    rb5b5d84 r23a0368  
    3636#define LIBC_SYS_STAT_H_
    3737
    38 #include <sys/types.h>
    39 #include <stdbool.h>
    4038#include <ipc/vfs.h>
    41 #include <ipc/loc.h>
    4239
    43 struct stat {
    44         fs_handle_t fs_handle;
    45         service_id_t service_id;
    46         fs_index_t index;
    47         unsigned int lnkcnt;
    48         bool is_file;
    49         bool is_directory;
    50         aoff64_t size;
    51         service_id_t service;
    52 };
    53 
    54 extern int fstat(int, struct stat *);
    55 extern int stat(const char *, struct stat *);
    5640extern int mkdir(const char *, mode_t);
    5741
Note: See TracChangeset for help on using the changeset viewer.