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

	rc = wrap_openat(AT_FDCWD, path, O_CREAT|O_WRONLY|O_TRUNC|O_LARGEFILE, mode);

/*	return rc;
 * }
 */