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

Unified Diff: ports/glibc-compat/include/sys/unistd.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, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/glibc-compat/include/sys/un.h ('k') | ports/glibc-compat/include/time.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/glibc-compat/include/sys/unistd.h
diff --git a/ports/glibc-compat/include/sys/unistd.h b/ports/glibc-compat/include/sys/unistd.h
index 46bc61b102a455360fbc67c1dbc38fa763fcb8a8..92e11293b1aef7d3459d044ef366312464fbe3fc 100644
--- a/ports/glibc-compat/include/sys/unistd.h
+++ b/ports/glibc-compat/include/sys/unistd.h
@@ -25,10 +25,20 @@
#define _SC_MONOTONIC_CLOCK (-1)
#define _SC_OPEN_MAX (-1)
#define _SC_CLK_TCK (-1)
+#define _SC_ARG_MAX (-1)
/* TODO(bradnelson): Drop this once we've landed nacl_io pipe support. */
extern int mknod(const char *pathname, mode_t mode, dev_t dev);
extern int mkfifo(const char *pathname, mode_t mode);
+int readlinkat(int dirfd, const char *pathname,
+ char *buf, size_t bufsiz);
+int unlinkat(int dirfd, const char *pathname, int flags);
+int faccessat(int dirfd, const char *pathname, int mode, int flags);
+int fchownat(int dirfd, const char *pathname,
+ uid_t owner, gid_t group, int flags);
+int symlinkat(const char *oldpath, int newdirfd, const char *newpath);
+int linkat(int olddirfd, const char *oldpath,
+ int newdirfd, const char *newpath, int flags);
#endif
« no previous file with comments | « ports/glibc-compat/include/sys/un.h ('k') | ports/glibc-compat/include/time.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698