4.1cBSD/usr/src/lib/libc/gen/creat.c

Compare this file to the similar file:
Show the results in this format:

/*	creat.c	4.1	83/02/23	*/

/*
 * Backwards compatible creat call.
 */
#include <sys/file.h>

creat(file, mode)
	char *file;
	int mode;
{

	return (open(file, FWRONLY|FCREATE|FTRUNCATE, mode));
}