Skip to content

Commit

Permalink
posix: add definition for fcntl
Browse files Browse the repository at this point in the history
The `fcntl(2)` function definition was missing from `fcntl.h`.

Signed-off-by: Chris Friedt <[email protected]>
  • Loading branch information
cfriedt committed Nov 21, 2022
1 parent 0d78029 commit 00b71c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/zephyr/posix/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
#define F_SETFL 4

int open(const char *name, int flags, ...);
int fcntl(int fildes, int cmd, ...);

#endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS_FCNTL_H_ */

0 comments on commit 00b71c1

Please sign in to comment.