diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-05-24 20:19:38 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-06-10 10:37:46 +1200 |
| commit | 5e9623f3b9a9c096bea93b07995d5f51573aa67e (patch) | |
| tree | 85127d795004709144c1a40e9c1afd01b5e01d79 | |
| parent | 0ba6b2966c128f319fe6deabc2d222e3c93a6ae7 (diff) | |
| download | man-pages-5e9623f3b9a9c096bea93b07995d5f51573aa67e.tar.gz | |
open.2: Remove unused <sys/stat.h>
I can't see a reason to include it. <fcntl.h> provides O_*
constants for 'flags', S_* constants for 'mode', and mode_t.
Probably a long time ago, some of those weren't defined in
<fcntl.h>, and both headers needed to be included, or maybe it's
a historical error.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man2/open.2 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/man2/open.2 b/man2/open.2 index bac1ee8063..1bcd995f48 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -53,7 +53,6 @@ open, openat, creat \- open and possibly create a file .SH SYNOPSIS .nf -.B #include <sys/stat.h> .B #include <fcntl.h> .PP .BI "int open(const char *" pathname ", int " flags ); |
