svn commit: r328630 - head/lib/libc/gen
John Baldwin
jhb at FreeBSD.org
Wed Jan 31 17:56:37 UTC 2018
Author: jhb
Date: Wed Jan 31 17:56:36 2018
New Revision: 328630
URL: https://svnweb.freebsd.org/changeset/base/328630
Log:
Clarify that the additional arguments to makecontext() are of type int.
MFC after: 1 week
Sponsored by: DARPA / AFRL
Modified:
head/lib/libc/gen/makecontext.3
Modified: head/lib/libc/gen/makecontext.3
==============================================================================
--- head/lib/libc/gen/makecontext.3 Wed Jan 31 17:36:39 2018 (r328629)
+++ head/lib/libc/gen/makecontext.3 Wed Jan 31 17:56:36 2018 (r328630)
@@ -35,7 +35,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 10, 2002
+.Dd January 31, 2018
.Dt MAKECONTEXT 3
.Os
.Sh NAME
@@ -68,11 +68,16 @@ with the arguments provided.
The
.Fa argc
argument
-must be equal to the number of additional arguments provided to
+must be equal to the number of additional arguments of type
+.Vt int
+provided to
.Fn makecontext
-and also equal to the number of arguments to
-.Fn func ,
-or else the behavior is undefined.
+and also equal to the number of arguments of type
+.Vt int
+to
+.Fn func ;
+otherwise ,
+the behavior is undefined.
.Pp
The
.Fa "ucp->uc_link"
More information about the svn-src-all
mailing list