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

Side by Side Diff: fusl/src/stat/__xstat.c

Issue 1716893002: [fusl] Remove LFS64 macro (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: apptest rebase Created 4 years, 10 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 | « fusl/src/regex/glob.c ('k') | fusl/src/stat/fstat.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include <sys/stat.h> 1 #include <sys/stat.h>
2 #include "libc.h" 2 #include "libc.h"
3 3
4 int __fxstat(int ver, int fd, struct stat* buf) { 4 int __fxstat(int ver, int fd, struct stat* buf) {
5 return fstat(fd, buf); 5 return fstat(fd, buf);
6 } 6 }
7 7
8 int __fxstatat(int ver, int fd, const char* path, struct stat* buf, int flag) { 8 int __fxstatat(int ver, int fd, const char* path, struct stat* buf, int flag) {
9 return fstatat(fd, path, buf, flag); 9 return fstatat(fd, path, buf, flag);
10 } 10 }
11 11
12 int __lxstat(int ver, const char* path, struct stat* buf) { 12 int __lxstat(int ver, const char* path, struct stat* buf) {
13 return lstat(path, buf); 13 return lstat(path, buf);
14 } 14 }
15 15
16 int __xstat(int ver, const char* path, struct stat* buf) { 16 int __xstat(int ver, const char* path, struct stat* buf) {
17 return stat(path, buf); 17 return stat(path, buf);
18 } 18 }
19 19
20 LFS64(__fxstat);
21 LFS64(__fxstatat);
22 LFS64(__lxstat);
23 LFS64(__xstat);
24
25 int __xmknod(int ver, const char* path, mode_t mode, dev_t* dev) { 20 int __xmknod(int ver, const char* path, mode_t mode, dev_t* dev) {
26 return mknod(path, mode, *dev); 21 return mknod(path, mode, *dev);
27 } 22 }
28 23
29 int __xmknodat(int ver, int fd, const char* path, mode_t mode, dev_t* dev) { 24 int __xmknodat(int ver, int fd, const char* path, mode_t mode, dev_t* dev) {
30 return mknodat(fd, path, mode, *dev); 25 return mknodat(fd, path, mode, *dev);
31 } 26 }
OLDNEW
« no previous file with comments | « fusl/src/regex/glob.c ('k') | fusl/src/stat/fstat.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698