Changeset 8fe46a0 in mainline for uspace/lib/posix/source/sys/stat.c


Ignore:
Timestamp:
2017-04-04T20:35:43Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
59f388a
Parents:
a6fc88a
Message:

Remove mode_t from libc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/source/sys/stat.c

    ra6fc88a r8fe46a0  
    124124 * @return Zero on success, -1 otherwise.
    125125 */
    126 int posix_chmod(const char *path, mode_t mode)
     126int posix_chmod(const char *path, posix_mode_t mode)
    127127{
    128128        /* HelenOS doesn't support permissions, return success. */
     
    137137 * @return Previous file mode creation mask.
    138138 */
    139 mode_t posix_umask(mode_t mask)
     139posix_mode_t posix_umask(posix_mode_t mask)
    140140{
    141141        /* HelenOS doesn't support permissions, return empty mask. */
     
    150150 * @return Zero on success, -1 otherwise.
    151151 */
    152 int posix_mkdir(const char *path, mode_t mode)
     152int posix_mkdir(const char *path, posix_mode_t mode)
    153153{
    154154        int rc = rcerrno(vfs_link_path, path, KIND_DIRECTORY, NULL);
Note: See TracChangeset for help on using the changeset viewer.