blob: 6e200388615818d2bc385944ccf9aeec2c1d71a8 [file] [log] [blame]
/*
* Copyright (c) 2005, Bull S.A.. All rights reserved.
* Created by: Sebastien Decugis
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
*
* Based on original code by Julie N Fleischer.
*
* Test that the function below is defined:
* int ftruncate(int fildes, off_t length);
*/
#include <unistd.h>
#include <sys/types.h>
typedef int (*ftruncate_test)(int fildes, off_t length);
int dummyfcn (void)
{
ftruncate_test dummyvar;
dummyvar = ftruncate;
return 0;
}