(struct stat): Use __blksize_t for st_blksize member.
This commit is contained in:
parent
77c5dc9ed7
commit
daacfe6797
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1993, 1996, 1997, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -42,7 +42,7 @@ struct stat
|
|||||||
int st_ctime; /* Time of last status change. */
|
int st_ctime; /* Time of last status change. */
|
||||||
int st_ctime_usec;
|
int st_ctime_usec;
|
||||||
|
|
||||||
unsigned 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. */
|
#define _STATBUF_ST_BLKSIZE /* Tell code we have this member. */
|
||||||
|
|
||||||
__blkcnt_t st_blocks; /* Number of 512-byte blocks allocated. */
|
__blkcnt_t st_blocks; /* Number of 512-byte blocks allocated. */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1993, 1996, 1997, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -51,7 +51,7 @@ struct stat
|
|||||||
long int st_ctime; /* Time of last status change. */
|
long int st_ctime; /* Time of last status change. */
|
||||||
unsigned long int st_ctime_usec;
|
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. */
|
#define _STATBUF_ST_BLKSIZE /* Tell code we have this member. */
|
||||||
|
|
||||||
__blkcnt_t st_blocks; /* Number of 512-byte blocks allocated. */
|
__blkcnt_t st_blocks; /* Number of 512-byte blocks allocated. */
|
||||||
|
Loading…
Reference in New Issue
Block a user