OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [sparc64/] [creat.c] - Blame information for rev 40

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/* creat() "system call" */
2
 
3
/* This is needed by f2c and therefore the SPEC benchmarks.  */
4
 
5
#include <fcntl.h>
6
 
7
int
8
creat (const char *path, mode_t mode)
9
{
10
  return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode);
11
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.