aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/truncate.c
blob: 6a51105db10c63d6a5ebd75c2e43107f12ae56b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 
 * Copyright (c) 2010 Wind River Systems; see
 * guts/COPYRIGHT for information.
 *
 * SPDX-License-Identifier: LGPL-2.1-only
 *
 * static int
 * wrap_truncate(const char *path, off_t length) {
 *	int rc = -1;
 */

	rc = real_truncate(path, length);

/*	return rc;
 * }
 */