aboutsummaryrefslogtreecommitdiffstats
path: root/guts/creat.c
blob: d46e4d59ba394574942797d9927e37cb4eae3ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 
 * Copyright (c) 2008-2010 Wind River Systems; see
 * guts/COPYRIGHT for information.
 *
 * static int
 * wrap_creat(const char *path, mode_t mode) {
 *	int rc = -1;
 */

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

/*	return rc;
 * }
 */