aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/creat.c
blob: 8593cd42e0f00205b59af39fada4840703590265 (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_open(path, O_CREAT|O_WRONLY|O_TRUNC, mode);

/*	return rc;
 * }
 */