]> git.ipfire.org Git - thirdparty/glibc.git/blame - posix/tst-truncate.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / posix / tst-truncate.c
CommitLineData
cddf254d 1/* Tests for ftruncate and truncate.
04277e02 2 Copyright (C) 2000-2019 Free Software Foundation, Inc.
41bdb6e2 3 This file is part of the GNU C Library.
cddf254d
UD
4 Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000.
5
6 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
cddf254d
UD
10
11 The GNU C Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
41bdb6e2 14 Lesser General Public License for more details.
cddf254d 15
41bdb6e2 16 You should have received a copy of the GNU Lesser General Public
59ba27a6 17 License along with the GNU C Library; if not, see
5a82c748 18 <https://www.gnu.org/licenses/>. */
cddf254d 19
87686aee 20#include "tst-truncate-common.c"
cddf254d 21
87686aee
AZ
22static int
23do_test (void)
cddf254d 24{
87686aee 25 return do_test_with_offset (0);
cddf254d 26}