stat.2: Remove <unistd.h> from synopsis
PATCH 1/1 stat.2: Remove <unistd.h> from synopsis
From: Jonathan Wakely <[email protected]>
There seems to be no reason <unistd.h> is shown here, so remove it.
Signed-off-by Jonathan Wakely <[email protected]>
Signed-off-by Alejandro Colomar <[email protected]>
--- man2/stat.2 | 1 - 1 file changed, 1 deletion(-)
man2/stat.2 +0 -1
@@ -43,7 +43,6 @@ stat, fstat, lstat, fstatat \- get file status .nf .B #include <sys/types.h> .B #include <sys/stat.h> -.B #include <unistd.h> .PP .BI "int stat(const char *" pathname ", struct stat *" statbuf ); .BI "int fstat(int " fd ", struct stat *" statbuf );
Signature · 1 line
2.30.0
Quoted 6 lines · Alejandro Colomar
From: Jonathan Wakely <[email protected]>
There seems to be no reason <
unistd.h> is shown here, so remove it.Signed-off-by Jonathan Wakely <[email protected]>Signed-off-by Alejandro Colomar <[email protected]>
Thanks. Patch applied.
Cheers,
Michael
Quoted 17 lines
--- man2/stat.2 | 1 - 1 file changed, 1 deletion(-)man2/stat.2 +0
-1@@ -43,7 +43,6 @@ stat, fstat, lstat, fstatat \- get file status .nf .B #include <sys/types.h> .B #include <sys/stat.h> -.B #include <unistd.h> .PP .BI "int stat(const char *" pathname ", struct stat *" statbuf ); .BI "int fstat(int " fd ", struct stat *" statbuf );
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/