2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
5 /* $Id: create.c,v 1.3 1994/06/24 11:24:21 ceriel Exp $ */
9 extern File *_get_entry();
12 sys_create(filep, path, mode)
20 if ((fp = _get_entry()) == (File *)0)
22 if ((fd = creat(path, mode)) < 0)
25 fp->o_flags = OP_WRITE;