source:
rtems/c/src/lib/libc/creat.c
@
0cb7cb9
Last change on this file since 0cb7cb9 was ddaa60f, checked in by Joel Sherrill <joel.sherrill@…>, on 10/06/99 at 21:08:14 | |
---|---|
|
|
File size: 218 bytes |
Line | |
---|---|
1 | /* 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 | } |
Note: See TracBrowser
for help on using the repository browser.