source: azure_iot_hub/trunk/musl-1.1.18/src/stat/__xstat.c@ 388

Last change on this file since 388 was 388, checked in by coas-nagasima, 5 years ago

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-csrc
File size: 706 bytes
Line 
1#include <sys/stat.h>
2#include "libc.h"
3
4int __fxstat(int ver, int fd, struct stat *buf)
5{
6 return fstat(fd, buf);
7}
8
9int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag)
10{
11 return fstatat(fd, path, buf, flag);
12}
13
14int __lxstat(int ver, const char *path, struct stat *buf)
15{
16 return lstat(path, buf);
17}
18
19int __xstat(int ver, const char *path, struct stat *buf)
20{
21 return stat(path, buf);
22}
23
24LFS64(__fxstat);
25LFS64(__fxstatat);
26LFS64(__lxstat);
27LFS64(__xstat);
28
29int __xmknod(int ver, const char *path, mode_t mode, dev_t *dev)
30{
31 return mknod(path, mode, *dev);
32}
33
34int __xmknodat(int ver, int fd, const char *path, mode_t mode, dev_t *dev)
35{
36 return mknodat(fd, path, mode, *dev);
37}
Note: See TracBrowser for help on using the repository browser.