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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [sparc64/] [creat.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 207 jeremybenn
/* 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.