-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001 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
extern int kftruncate (int fd, long long int length);
int
-ftruncate64 (int fd, off64_t length)
+__ftruncate64 (int fd, off64_t length)
{
return kftruncate (fd, length);
}
+weak_alias (__ftruncate64, ftruncate64)
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2001 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
/* Truncate the file FD refers to to LENGTH bytes. */
int
-ftruncate64 (int fd, off64_t length)
+__ftruncate64 (int fd, off64_t length)
{
#ifndef __ASSUME_TRUNCATE64_SYSCALL
if (! __have_no_truncate64)
return __ftruncate (fd, (off_t) length);
#endif
}
+weak_alias (__ftruncate64, ftruncate64)
#else
/* Use the generic implementation. */