nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fcntl.c
Go to the documentation of this file.
1 #include <sys/types.h>
2 #include <stdio.h>
3 #include <errno.h>
4 #include <fcntl.h>
5 
6 int creat(const char *path, mode_t mode)
7 {
8  return -ENOSYS;
9 }
10 
11 int fcntl(int fd, int cmd, ...)
12 {
13  return -ENOSYS;
14 }
15 
16 int openat(int fd, const char *path, int mode, ...)
17 {
18  return -ENOSYS;
19 }
20 
21 int posix_fadvise(int fd, off_t offset, off_t len, int advice)
22 {
23  return -ENOSYS;
24 }
25 
26 int posix_fallocate(int fd, off_t offset, off_t len)
27 {
28  return -ENOSYS;
29 }
30 
31 /* End of a file */