Changeset 39a7bfa in mainline for uspace/lib/posix/sys/stat.h


Ignore:
Timestamp:
2011-06-17T02:19:15Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba7b753
Parents:
59f799b
Message:

Added function stubs into sys/stat.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/sys/stat.h

    r59f799b r39a7bfa  
    128128
    129129extern int posix_fstat(int fd, struct posix_stat *st);
    130 extern int posix_stat(const char *path, struct posix_stat *st);
     130extern int posix_lstat(const char *restrict path, struct posix_stat *restrict st);
     131extern int posix_stat(const char *restrict path, struct posix_stat *restrict st);
     132extern int posix_chmod(const char *path, mode_t mode);
     133extern mode_t posix_umask(mode_t mask);
    131134
    132135#ifndef LIBPOSIX_INTERNAL
    133136        #define fstat posix_fstat
     137        #define lstat posix_lstat
    134138        #define stat posix_stat
     139        #define chmod posix_chmod
     140        #define umask posix_umask
    135141#endif
    136142
Note: See TracChangeset for help on using the changeset viewer.