Skip to content

Commit

Permalink
Fix undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
tyfkda committed Mar 10, 2024
1 parent 0815cba commit 0da320d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#define S_IXOTH (0001)

#define AT_FDCWD -100
#define AT_SYMLINK_NOFOLLOW 0x100
#define AT_SYMLINK_FOLLOW 0x400
#define AT_EACCESS 0x200

int open(const char *fn, int flag, ...);
int openat(int dirfd, const char *fn, int flag, ...);

0 comments on commit 0da320d

Please sign in to comment.