mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
fallocate{,64}.
This commit is contained in:
parent
93311332ba
commit
73ea734a9f
@ -1,3 +1,8 @@
|
|||||||
|
2009-03-04 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
|
||||||
|
fallocate{,64}.
|
||||||
|
|
||||||
2009-02-26 Joseph Myers <joseph@codesourcery.com>
|
2009-02-26 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
|
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
|
||||||
|
@ -234,6 +234,23 @@ extern ssize_t splice (int __fdin, __off64_t *__offin, int __fdout,
|
|||||||
extern ssize_t tee (int __fdin, int __fdout, size_t __len,
|
extern ssize_t tee (int __fdin, int __fdout, size_t __len,
|
||||||
unsigned int __flags);
|
unsigned int __flags);
|
||||||
|
|
||||||
|
/* Reserve storage for the data of the file associated with FD. */
|
||||||
|
# ifndef __USE_FILE_OFFSET64
|
||||||
|
extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
|
||||||
|
# else
|
||||||
|
# ifdef __REDIRECT
|
||||||
|
extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
|
||||||
|
__off_t __len),
|
||||||
|
fallocate64);
|
||||||
|
# else
|
||||||
|
# define fallocate fallocate64
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# ifdef __USE_LARGEFILE64
|
||||||
|
extern int fallocate64 (int __fd, int __mode, __off64_t __offset,
|
||||||
|
__off64_t __len);
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
Loading…
Reference in New Issue
Block a user