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

Side by Side Diff: sysdeps/nacl/nacl_stat.h

Issue 6026005: Fix __fxstat which is called from fstat. Remove obsolete fstat64. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-glibc.git@master
Patch Set: refactoring fxstat.c Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698