mirror of git://sourceware.org/git/glibc.git
(struct stat): Use __blksize_t for st_blksize member.
(struct stat64): Likewise.
This commit is contained in:
parent
daacfe6797
commit
6996793426
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -53,7 +53,7 @@ struct stat
|
|||
__blkcnt_t st_blocks; /* Nr. 512-byte blocks allocated. */
|
||||
int __pad2;
|
||||
#endif
|
||||
unsigned int st_blksize; /* Optimal block size for I/O. */
|
||||
__blksize_t st_blksize; /* Optimal block size for I/O. */
|
||||
unsigned int st_flags;
|
||||
unsigned int st_gen;
|
||||
int __pad3;
|
||||
|
@ -76,7 +76,7 @@ struct stat64
|
|||
__time_t st_mtime; /* Time of last modification. */
|
||||
__time_t st_ctime; /* Time of last status change. */
|
||||
__blkcnt64_t st_blocks; /* Nr. 512-byte blocks allocated. */
|
||||
unsigned int st_blksize; /* Optimal block size for I/O. */
|
||||
__blksize_t st_blksize; /* Optimal block size for I/O. */
|
||||
unsigned int st_flags;
|
||||
unsigned int st_gen;
|
||||
int __pad3;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1992, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -66,7 +66,7 @@ struct stat
|
|||
long int __reserved1;
|
||||
__time_t st_ctime; /* Time of last status change. */
|
||||
long int __reserved2;
|
||||
long int st_blksize; /* Optimal block size for I/O. */
|
||||
__blksize_t st_blksize; /* Optimal block size for I/O. */
|
||||
#ifndef __USE_FILE_OFFSET64
|
||||
__blkcnt_t st_blocks; /* Number of 512-byte blocks allocated. */
|
||||
#else
|
||||
|
@ -104,7 +104,7 @@ struct stat64
|
|||
long int __reserved1;
|
||||
__time_t st_ctime; /* Time of last status change. */
|
||||
long int __reserved2;
|
||||
long int st_blksize; /* Optimal block size for I/O. */
|
||||
__blksize_t st_blksize; /* Optimal block size for I/O. */
|
||||
__blkcnt64_t st_blocks; /* Number of 512-byte blocks allocated. */
|
||||
char st_fstype[16]; /* Filesystem type name */
|
||||
long int st_pad4[8];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1993, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1993, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -50,7 +50,7 @@ struct stat
|
|||
__time_t st_ctime; /* Time of last status change. */
|
||||
unsigned long int st_ctime_usec;
|
||||
|
||||
long int st_blksize; /* Optimal block size for I/O. */
|
||||
__blksize_t st_blksize; /* Optimal block size for I/O. */
|
||||
#define _STATBUF_ST_BLKSIZE /* Tell code we have this member. */
|
||||
|
||||
__blkcnt_t st_blocks; /* Number of 512-byte blocks allocated. */
|
||||
|
@ -81,7 +81,7 @@ struct stat64
|
|||
__time_t st_ctime; /* Time of last status change */
|
||||
unsigned long int st_ctime_usec;
|
||||
|
||||
long int st_blksize;
|
||||
__blksize_t st_blksize;
|
||||
__blkcnt64_t st_blocks;
|
||||
char st_fstype[_ST_FSTYPSZ];
|
||||
long int st_filler3[8];
|
||||
|
|
Loading…
Reference in New Issue