[dfs][posix] add creat()

This commit is contained in:
Meco Man
2022-01-19 16:13:23 -05:00
committed by Bernard Xiong
parent b67f34b097
commit add72f1d7c
2 changed files with 18 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
#ifndef __FCNTL_H__
#define __FCNTL_H__
#include <sys/types.h>
#include "sys/types.h"
#define O_RDONLY 00
#define O_WRONLY 01
@@ -66,6 +66,6 @@
int open(const char *file, int flags, ...);
int fcntl(int fildes, int cmd, ...);
int creat(const char *, mode_t);
int creat(const char *path, mode_t mode);
#endif