| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008 The Native Client Authors. All rights reserved. | 2 * Copyright 2008 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
| 4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /* TODO(mseaborn): Import this header file from outside rather than | 7 /* TODO(mseaborn): Import this header file from outside rather than |
| 8 keeping a copy in the glibc tree. */ | 8 keeping a copy in the glibc tree. */ |
| 9 | 9 |
| 10 #ifndef _NACL_STAT_H | 10 #ifndef _NACL_STAT_H |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 int __padding; /* needed to align st_rdev */ | 88 int __padding; /* needed to align st_rdev */ |
| 89 nacl_abi_dev_t nacl_abi_st_rdev; /* not implemented */ | 89 nacl_abi_dev_t nacl_abi_st_rdev; /* not implemented */ |
| 90 nacl_abi_off_t nacl_abi_st_size; /* object size */ | 90 nacl_abi_off_t nacl_abi_st_size; /* object size */ |
| 91 nacl_abi_blksize_t nacl_abi_st_blksize; /* not implemented */ | 91 nacl_abi_blksize_t nacl_abi_st_blksize; /* not implemented */ |
| 92 nacl_abi_blkcnt_t nacl_abi_st_blocks; /* not implemented */ | 92 nacl_abi_blkcnt_t nacl_abi_st_blocks; /* not implemented */ |
| 93 nacl_abi_time_t nacl_abi_st_atime; /* access time */ | 93 nacl_abi_time_t nacl_abi_st_atime; /* access time */ |
| 94 nacl_abi_time_t nacl_abi_st_mtime; /* modification time */ | 94 nacl_abi_time_t nacl_abi_st_mtime; /* modification time */ |
| 95 nacl_abi_time_t nacl_abi_st_ctime; /* inode change time */ | 95 nacl_abi_time_t nacl_abi_st_ctime; /* inode change time */ |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 /* Converts struct nacl_abi_stat to struct stat64. Implemented in fxstat64.c */ | 98 /* Converts struct nacl_abi_stat to struct stat64. Implemented in fxstat.c */ |
| 99 void __nacl_abi_stat_to_stat64 (struct nacl_abi_stat *nacl_st, | 99 void __nacl_abi_stat_to_stat64 (struct nacl_abi_stat *nacl_st, |
| 100 struct stat64 *st); | 100 struct stat64 *st); |
| 101 | 101 /* Converts struct nacl_abi_stat to struct stat. Implemented in fxstat.c */ |
| 102 void __nacl_abi_stat_to_stat (struct nacl_abi_stat *nacl_st, |
| 103 struct stat *st); |
| 102 #endif | 104 #endif |
| OLD | NEW |