summaryrefslogtreecommitdiff
path: root/doc/posix-functions
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-02-08 21:35:14 +0100
committerBruno Haible <bruno@clisp.org>2021-02-08 21:35:14 +0100
commit548423f22f9a232188d849bf6b4c1abfb7adaa0c (patch)
tree5ac226d9fcb3da05fd834467716d25ca59e4c9c8 /doc/posix-functions
parent5040f712e9ab0e1a203095f2c3dcca5b7d473f1d (diff)
downloadgnulib-548423f22f9a232188d849bf6b4c1abfb7adaa0c.tar.gz
Document non-standard prototypes on MidnightBSD.
* doc/posix-functions/initstate.texi: Mention different prototype on MidnightBSD 2.0. * doc/posix-functions/srandom.texi: Likewise. * doc/posix-functions/getlogin_r.texi: Likewise. * doc/glibc-functions/sethostname.texi: Likewise.
Diffstat (limited to 'doc/posix-functions')
-rw-r--r--doc/posix-functions/getlogin_r.texi2
-rw-r--r--doc/posix-functions/initstate.texi7
-rw-r--r--doc/posix-functions/srandom.texi4
3 files changed, 12 insertions, 1 deletions
diff --git a/doc/posix-functions/getlogin_r.texi b/doc/posix-functions/getlogin_r.texi
index d17c541365..c70eb32dd9 100644
--- a/doc/posix-functions/getlogin_r.texi
+++ b/doc/posix-functions/getlogin_r.texi
@@ -25,7 +25,7 @@ Portability problems not fixed by Gnulib:
@itemize
@item
This function has an incompatible declaration on some platforms:
-Solaris 11.4 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined).
+MidnightBSD 2.0, Solaris 11.4 (when @code{_POSIX_PTHREAD_SEMANTICS} is not defined).
@item
This function fails even when standard input is a tty on some platforms:
HP-UX 11.11.
diff --git a/doc/posix-functions/initstate.texi b/doc/posix-functions/initstate.texi
index fa03e99aa9..3346767485 100644
--- a/doc/posix-functions/initstate.texi
+++ b/doc/posix-functions/initstate.texi
@@ -18,4 +18,11 @@ Cygwin 1.5.25.
Portability problems not fixed by Gnulib:
@itemize
+@item
+The first parameter is @code{unsigned long} instead of @code{unsigned int} on
+some platforms:
+MidnightBSD 2.0.
+@item
+The third parameter is @code{long} instead of @code{size_t} on some platforms:
+MidnightBSD 2.0.
@end itemize
diff --git a/doc/posix-functions/srandom.texi b/doc/posix-functions/srandom.texi
index d553373c83..12df9161ae 100644
--- a/doc/posix-functions/srandom.texi
+++ b/doc/posix-functions/srandom.texi
@@ -22,4 +22,8 @@ Portability problems not fixed by Gnulib:
This function has a slightly incompatible declaration (the return type being
@samp{long} instead of @samp{void}) on some platforms:
Cygwin 1.5.25.
+@item
+The parameter is @code{unsigned long} instead of @code{unsigned int} on some
+platforms:
+MidnightBSD 2.0.
@end itemize