Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(772)

Side by Side Diff: ports/glibc-compat/include/sys/stat.h

Issue 1260083004: Add needed functions to glibc-compat for pkg (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: fix wrong c++ lib Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/glibc-compat/include/sys/fcntl.h ('k') | ports/glibc-compat/include/sys/types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The Native Client Authors. All rights reserved. 2 * Copyright 2015 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef GLIBCEMU_SYS_STAT_H 7 #ifndef GLIBCEMU_SYS_STAT_H
8 #define GLIBCEMU_SYS_STAT_H 1 8 #define GLIBCEMU_SYS_STAT_H 1
9 9
10 #include_next <sys/stat.h> 10 #include_next <sys/stat.h>
11 11 /* 7777 */
12 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
12 #ifdef __cplusplus 13 #ifdef __cplusplus
13 extern "C" { 14 extern "C" {
14 #endif 15 #endif
15 16
16 mode_t umask(mode_t mask); 17 mode_t umask(mode_t mask);
18 int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags);
19 int mkdirat(int dirfd, const char *pathname, mode_t mode);
20 int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev);
17 21
18 #ifdef __cplusplus 22 #ifdef __cplusplus
19 } 23 }
20 #endif 24 #endif
21 25
22 #endif 26 #endif
OLDNEW
« no previous file with comments | « ports/glibc-compat/include/sys/fcntl.h ('k') | ports/glibc-compat/include/sys/types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698