/*
  (c) 1990 S.Hawtin.
  Permission is granted to copy this file provided
   1) It is not used for commercial gain
   2) This notice is included in all copies
   3) Altered copies are marked as such

  No liability is accepted for the contents of the file.

  creat.c	within		Public Domain UNIX.lib

*/

#include <types.h>
#include "unix.h"

APTR
creat(name,mode)
    char *name;
    int  mode;
   {/* Just open with create */
    return(open(name,mode | O_CREAT));
    }
