Reference: https://pubs.opengroup.org/onlinepubs/7908799/xsh/write.html
I'm adding the patch to the attachment as well because my last patch was a bit problematic with the email.
---
diff --git a/man/man2/write.2 b/man/man2/write.2
index a24cbdc31..e9b7dd739 100644
--- a/man/man2/write.2
+++ b/man/man2/write.2
@@ -26,7 +26,7 @@ Standard C library
.nf
.B #include <unistd.h>
.P
-.BI "ssize_t write(int " fd ", const void " buf [. count "], size_t " count );
+.BI "ssize_t write(int " fd ", const void *" buf [. count "], size_t " count );
.fi
.SH DESCRIPTION
.BR write ()
--
S pozdravom/ Best regards
Lukáš Javorský
Senior Software Engineer, Core service - Databases
Red Hat
Purkyňova 115 (TPB-C)
612 00 Brno - Královo Pole
ljavorsk@xxxxxxxxxx
I'm adding the patch to the attachment as well because my last patch was a bit problematic with the email.
---
diff --git a/man/man2/write.2 b/man/man2/write.2
index a24cbdc31..e9b7dd739 100644
--- a/man/man2/write.2
+++ b/man/man2/write.2
@@ -26,7 +26,7 @@ Standard C library
.nf
.B #include <unistd.h>
.P
-.BI "ssize_t write(int " fd ", const void " buf [. count "], size_t " count );
+.BI "ssize_t write(int " fd ", const void *" buf [. count "], size_t " count );
.fi
.SH DESCRIPTION
.BR write ()
--
S pozdravom/ Best regards
Lukáš Javorský
Senior Software Engineer, Core service - Databases
Red Hat
Purkyňova 115 (TPB-C)
612 00 Brno - Královo Pole
ljavorsk@xxxxxxxxxx
Attachment:
0001-write.2-Fix-a-typo-within-the-function-argument.patch
Description: Binary data